tfest with forcing stable poles

17 vues (au cours des 30 derniers jours)
Alborz Sakhaei
Alborz Sakhaei le 5 Oct 2020
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 ];

Réponse acceptée

Arkadiy Turevskiy
Arkadiy Turevskiy le 15 Fév 2021
You can use EnforceStabilty option for tfestOptions:
https://www.mathworks.com/help/ident/ref/tfestoptions.html

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by