Filter löschen
Filter löschen

How to use zpk for symbolic transfer function?

5 Ansichten (letzte 30 Tage)
waell telmesani
waell telmesani am 31 Okt. 2018
Bearbeitet: Walter Roberson am 11 Dez. 2023
Hi How to use the zpk (zero-pole-gain ) command for symbolic transfer function?
Thanks
  1 Kommentar
David Chaparro
David Chaparro am 11 Dez. 2023
Bearbeitet: Walter Roberson am 11 Dez. 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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Symbolic Math Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by