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)
Best Answer