Borrar filtros
Borrar filtros

How to use zpk for symbolic transfer function?

5 visualizaciones (últimos 30 días)
waell telmesani
waell telmesani el 31 de Oct. de 2018
Editada: Walter Roberson el 11 de Dic. de 2023
Hi How to use the zpk (zero-pole-gain ) command for symbolic transfer function?
Thanks
  1 comentario
David Chaparro
David Chaparro el 11 de Dic. de 2023
Editada: Walter Roberson el 11 de Dic. de 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

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by