Fast Fourier Transform vs Linearize
2 views (last 30 days)
Show older comments
Hi,
I have a simple 5 degree of freedom Simulink model, and I want to extract the frequencies of my model. I use two ways to do this:
1- Run the Simulink model, get the time domain responses, and get the frequency response by using FFT.
2- use linearize(mdl) in MATLAB, plot Bode diagram and get the frequencies
Both of them have almost similar results, but when I use first method(FFT), my frequency response is missing some of the frequencies. While, using linearize(mdl) shows me all the frequencies.
Any information on why they are different and can someone help me with the basics here?
1 Comment
Mathieu NOE
on 1 Oct 2021
hello
regarding point 1/ to have a fair comprasion with 2/ , it has to be a transfer function estimate based on time domain output and input signals
see fonctions tfe.m / tfestimate .m
Answers (0)
See Also
Categories
Find more on Linear Prediction 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!