How to use zpk for symbolic transfer function?
9 次查看(过去 30 天)
显示 更早的评论
Hi How to use the zpk (zero-pole-gain ) command for symbolic transfer function?
Thanks
1 个评论
David Chaparro
2023-12-11
编辑:Walter Roberson
2023-12-11
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!