Why do I receive an error when I run this code?
Ältere Kommentare anzeigen
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)
Akzeptierte Antwort
Weitere Antworten (1)
Julián Francisco
am 9 Jun. 2011
0 Stimmen
My Matlab program says that you have not defined the variable z.
1 Kommentar
Paulo Silva
am 9 Jun. 2011
it should be like this 'z' instead of just z
Kategorien
Mehr zu Large Files and Big Data finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!