How to use zpk for symbolic transfer function?

6 vues (au cours des 30 derniers jours)
waell telmesani
waell telmesani le 31 Oct 2018
Hi How to use the zpk (zero-pole-gain ) command for symbolic transfer function?
Thanks
  1 commentaire
David Chaparro
David Chaparro le 11 Déc 2023
Modifié(e) : Walter Roberson le 11 Déc 2023
This code gives the factors of the denominator.
syms s
Phi=inv(s*eye(FIL)-A); %Matriz de transición
h=C*Phi*B; %Función de transferencia.
H=expand(h)
[N,D] = numden(H)
D_fact = factor(D,s,"FactorMode","real")
[Fil Col] = size(D_fact)
for a = 1:Col
coeffs(D_fact(a),s)
end

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by