Why do I receive an error when I run this code?
古いコメントを表示
Why do I receive an error when I run this code?
sys=tf([1],[1 1],'InputDelay',2)
sysd=c2d(sys,0.5)
[num,den]=tfdata(sysd)
num=num2str(num{:})
den=num2str(den{:})
num=poly2sym(num,z)
den=poly2sym(den,z)
num=char(num)
den=char(den)
採用された回答
その他の回答 (1 件)
Julián Francisco
2011 年 6 月 9 日
0 投票
My Matlab program says that you have not defined the variable z.
1 件のコメント
Paulo Silva
2011 年 6 月 9 日
it should be like this 'z' instead of just z
カテゴリ
ヘルプ センター および File Exchange で Large Files and Big Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!