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!