pzplot in symbolic toolbox
15 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Star Strider
on 21 Mar 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 Comments
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!