pzplot in symbolic toolbox
14 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
Star Strider
2020 年 3 月 21 日
‘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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Linear Algebra についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!