Finding frequency response of a data set
Show older comments
I have a basically sinusoidal data set that I need to find the frequency response with. There is also a lot of noise in data so it might need to be filtered. Does anybody have a suggestion on where I should start?
3 Comments
Paulo Silva
on 22 Feb 2011
frequency response or just the frequency of the sinewave?
Michael
on 23 Feb 2011
Paulo Silva
on 23 Feb 2011
please share the file (data set) with me, I might be able to help you.
Answers (2)
Rajiv Singh
on 24 Feb 2011
0 votes
Try System Identification Toolbox.
If you have your input and output data, you can use it to create a parametric model (such as a transfer function) from it using an estimation algorithm such as OE, ARX or N4SID. Then use FREQRESP or BODE on resulting model to obtain the frequency response.
You can also obtain nonparametric estimate of frequency response, that is, skip the parametric model estimation and directly compute the frequency response. You can do this using SPA, SPAFDR, ETFE commands. Note that the quality of results with this method may be poorer than the one obtained by using a parametric model and may also change depending upon the choice of lag and resolution factors.
See http://www.mathworks.com/help/toolbox/ident/ug/bq2fjka.html
Rajiv Singh
on 24 Feb 2011
0 votes
See also tfestimate in Signal Processing Toolbox.
Categories
Find more on Filter Analysis 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!