How to find second order transfer function of tfestimate result

5 views (last 30 days)
I have used tfestimate in the form of [EstH, EstF] = tfestimate(x,y,[],[],[],10);.. This generated a 513 x 1 matrix for EstH in the form of a+bi and a 513 x 1 matrix for EstF with 'double' as the datatype. I would now like to obtain a second order transfer function, given the resultant. I am wondering what would be the best aproach? I would like obtain the function and intend to plot it ontop of a previously generated bode plot, for verification purposes.
  1 Comment
Martin Cruz-Vazquez
Martin Cruz-Vazquez on 16 Sep 2022
I am obtaining tfestimate from time-series data, given the form , where Vin and Vout correspond to vectors containing input and output voltages, respectively.

Sign in to comment.

Accepted Answer

Star Strider
Star Strider on 16 Sep 2022
The tfestimate function may not be the funciton you want. Instead, use invfreqs (continuous) or invfreqz (sampled) to estimate the transfer function.
If you have the System Identification Toolbox, there are similar functions that can do this.
  3 Comments
Star Strider
Star Strider on 19 Sep 2022
As always, my pleasure!
Since you were using Signal Processing Toolbox functions, I was not certain that you had the System Identification Toolbox, so I just suggested it as an option.

Sign in to comment.

More Answers (0)

Products


Release

R2022a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!