FFT of a Signal
Show older comments
Hi, I would like to take the FFT of a signal but for some reason I do something wrong.
May someone could help me out?
I would like to see the FFT Spectrum for 2 seconds.
I attached the Excel file and the code.
Thanks!
Accepted Answer
More Answers (1)
Harry
on 26 Feb 2017
0 votes
5 Comments
Star Strider
on 26 Feb 2017
My pleasure!
Harry
on 26 Feb 2017
Star Strider
on 26 Feb 2017
I’ve not done this in a while.
I would use principal components analysis (the pca function in the Statistics and Machine Learning Toolbox) as a first approach. We did that with EEGs a couple decades ago with good results. It will tell you the components of the signal responsible for the maximum variance between the two, so I would begin there.
This is no longer an area of my expertise, so there may be better approaches. Consulting with a statistician would be appropriate.
Harry
on 27 Feb 2017
Star Strider
on 27 Feb 2017
My pleasure!
Categories
Find more on Spectral Measurements 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!