how to get transfer function (bode plot) of this time response?
Show older comments
I have a time response of a pressure step (not unit), but I find it difficult for me to get a transfer function(bode plot). I was thinking FFT or bode but I think I was not in the right track....Any help?
Answers (1)
Star Strider
on 29 May 2016
0 votes
To approximate a linear system to it, use tfest first, then bode to see how accurately you have approximated the frequency characteristics of your signal.
5 Comments
Zhe Liu
on 29 May 2016
Star Strider
on 29 May 2016
To use the iddata function, give it your raw data — not Fourier-transformed data — and the sampling time (scalar value) between successive samples. The data must be sampled uniformly.
Please check the documentation for iddata for details.
Identify your system first, then compare both the time-domain and frequency-domain representations of it with the respective representations of your data.
Zhe Liu
on 30 May 2016
Zhe Liu
on 30 May 2016
Star Strider
on 30 May 2016
As with all ‘real-world’ problems, you have to experiment to get the result you want.
That the initial value of the response is negative likely indicates a response lag (phase lag), typical of inductive (electrical) or mass-displacement (mechanical) systems. That will be accounted for in your model.
Categories
Find more on Analyze Data 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!