How can I define the period before fitting a Fourier series to discrete data?

2 views (last 30 days)
I'm using MATLAB's fit function to fit a Fourier series to a set of discrete data. I need the period of the Fourier series to be 2*pi. However I can't work out how to fix this so that when I call fit(X,Y,'fourier8') it fits the series to my required period. Any suggestions would be greatly appreciated. Thanks.
  1 Comment
Rose
Rose on 30 Apr 2019
Edited: Rose on 30 Apr 2019
I have the same problem. Did you find a solution? If not, would someone help us please?

Sign in to comment.

Answers (0)

Categories

Find more on Curve Fitting Toolbox in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!