How to calculate fourier series coefficients for a sawtooth wave?
5 views (last 30 days)
Show older comments
I am not sure how to calculate fourier series coefficients after importing the audio file of the Tuning note A4 and graphing it. I am getting a sawtooth wave. I am not sure how to apply the fourier series function to it?
Thank you
0 Comments
Answers (1)
Star Strider
on 9 Jul 2017
If you have the sampling frequency ‘Fs’, you can use the fast Fourier transform fft (link) function to calculate the numerical transform. The coefficients will be the transform results, the real components as the cosine coefficients, and the real part of the imaginary components the sine coefficients.
0 Comments
See Also
Categories
Find more on Audio I/O and Waveform Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!