transfer function frequency response

3 views (last 30 days)
Zhe Liu
Zhe Liu on 27 Jun 2016
Commented: Star Strider on 28 Jun 2016
how to get transfer function from this time response plot? Red is input and blue is output....

Answers (2)

J. Webster
J. Webster on 27 Jun 2016
Take the fourier transform of both signals, then the transfer function will be the FFT of the cavity divided by the FFT of the reference.
  1 Comment
Zhe Liu
Zhe Liu on 27 Jun 2016
Hey! Thanks for the reply. Do you mean for whole time domain or just the later periodic part? I did FFT of both signals in the whole window but the result does not make much sense to me. I want to find the natural frequency(resonance frequency) of a line-cavity system.

Sign in to comment.


Star Strider
Star Strider on 27 Jun 2016
You are doing ‘system identification’. If you have the Signal Processing Toolbox, use the invfreqz function. (If you have the System identification Toolbox, there are several functions you can use to identify the cavity dynamics.)
You will have to experiment with the number of poles and zeros in the transfer function. I would start with 5 for both, then use the output to define an IIR filter, and then filter the input signal with it, and continue changing the number of poles and zeros (I would specify the same number for each) until you the output reasonably approximates the response to your system.
  6 Comments
Zhe Liu
Zhe Liu on 28 Jun 2016
send you shortly...Sorry for the delay...I went home at that time...

Sign in to comment.

Categories

Find more on Linear Model Identification 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!