Estimation & aproximate fourier coefficients
9 views (last 30 days)
Show older comments
Part 1: Estimating the Values of Ao, An, and Bn with Fourier Series (Discrete)
- Estimate the value of Ao, An, and Bn with the Fourier Series and display the results in tabular and graphical form. (*n = Total Data)
Part 2: Approximation with Fourier Series (Discrete)
- Perform Approximation based on Ao, An, and Bn with Fourier Series.
- Compare the Approximation Result Graph with Size Data and Calculate the RMSe Value.
- How many "n" you have to involve in order to get the function that best fits the result of the measure.
0 Comments
Answers (1)
Sulaymon Eshkabilov
on 1 Jan 2022
(1) Take a sample function or data to find estimated Fourier Series coeffs
(2) Call Curve Fitting Toolbox
(3) Obtain the coeff's A0 A1 A2 ...An and B1 B2 ... Bn
Here is a nice doc on curve fitting toolbox for such exercises: https://www.mathworks.com/help/curvefit/fourier.html
Or you can write a fcn file of your own. Here is an example code: https://www.mathworks.com/matlabcentral/fileexchange/31013-simple-real-fourier-series-approximation
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!