discrete time lsim
3 次查看(过去 30 天)
显示 更早的评论
I am getting the error
??? Error using ==> rfinputs>LocalTimeRespCheck Input data U and time vector T must have the same number of samples.
Error in ==> TwoTank at 59 [y, t, x] = lsim(augss, u, 0:0.002:0.402,X0);
when i excecute the code : for i=1:101; u(i,1)= 0.1*i; end
for i=101:200; u(i,1) = 10*sin(0.1*i); end
%simulation
[y, t, x] = lsim(augss, u, 0:0.002:0.402,X0);
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!