transfer function frequency response
9 views (last 30 days)
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.
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.