Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

0
Turning values from the FFT into a real/complex Fourier Series (MATLAB)
Post Flair (click to view more posts with a particular flair)
Post Body

I'm a high school student trying to model a note played on my instrument using a Fourier Series. So far, this is my code in MATLAB (I haven't included the code that keeps the FFT plot within the Nyquist limit, but when I plot it it shows up correctly).

https://pastebin.com/YPP0dR9T

When I return m, as expected, it returns the magnitudes of all the complex numbers in my vector X. However, now that I have these FFT values, I have no idea what to do with them! Ie, how do I take these values and represent them using a complex exponential or even real Fourier Series? (I would appreciate knowing how to do it with a real Fourier Series as it means there's one less thing to do, but I guess I could convert from complex exponential to real if absolutely necessary.)

Thank you so much for your help!

Author
Account Strength
60%
Account Age
8 years
Verified Email
No
Verified Flair
No
Total Karma
2,964
Link Karma
1,456
Comment Karma
1,508
Profile updated: 2 days ago
Posts updated: 1 year ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
6 years ago