discrete time lsim

3 次查看(过去 30 天)
David
David 2012-5-12
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 个)

类别

Help CenterFile Exchange 中查找有关 Simulink 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by