I'm trying to simulate a continuous time system but i can't find a solution to this error. I tried many days and can't figure out what is the error in the code.
Please help out .
clc;
Ts=0.1;
T=0:0.1:5;
N=50;
numc=[1 0.3 4 0.6 3];
denc=[1 0.3 6 1.2 10 1.2 4];
sysc=tf(numc,denc);
ud=idinput(N,'prbs',[0 0.1],[-1 1]);
x0 = [0;0;0;0];
yd=lsim(sysc,ud,T);