MATLAB Answers

tfest with forcing stable poles

9 views (last 30 days)
Is it possible to force tfest to only use stable poles to estimate the transfer function?
Test case:
Trying to estimate TF from following freq response data.
Using tefest, with any combinations of nz and np, the estimated transfer function always contain unstable (+ve) poles.
%% FRD Data
% Mag vs Freq
mag_db_freq_hz = [0.001 0.1 2.5 7.3 ];
mag_db = [-3 -3 -3 -11.5 ];
% Phase vs Freq
phase_deg_freq_hz = [0.001 0.1 0.26 0.58 1 1.75 2.8 3.5 ];
phase_deg = [-20 -20 -23 -30 -37 -54 -75 -90 ];

Accepted Answer

Arkadiy Turevskiy
Arkadiy Turevskiy on 15 Feb 2021
You can use EnforceStabilty option for tfestOptions:
https://www.mathworks.com/help/ident/ref/tfestoptions.html

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by