pzplot in symbolic toolbox
14 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I'm using following command to achieve tf of Y_out.
for l=1:4
[symNum,symDen] = numden(Y_out(1,l)); %Get num and den of Symbolic TF
TFnum = sym2poly(symNum); %Convert Symbolic num to polynomial
TFden = sym2poly(symDen); %Convert Symbolic den to polynomial
sys =tf(TFnum,TFden);
pzplot(sys)
end
as you can see Y_out has 1 row and 4 column.
how can I PZPLOT the sys(1),...,sys(4) all in a same plot or different plots?
thx
0 comentarios
Respuestas (1)
Star Strider
el 21 de Mzo. de 2020
‘as you can see Y_out has 1 row and 4 column.’
We cannot see any of that because they are not provided.
This could work, although I cannot even test it or simulate it because I do not know what ‘Y_out’ is:
for l=1:4
[symNum,symDen] = numden(Y_out(1,l)); %Get num and den of Symbolic TF
TFnum = sym2poly(symNum); %Convert Symbolic num to polynomial
TFden = sym2poly(symDen); %Convert Symbolic den to polynomial
sys =tf(TFnum,TFden);
figure
pzplot(sys)
end
0 comentarios
Ver también
Categorías
Más información sobre Linear Algebra 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!