discrete time lsim

3 visualizzazioni (ultimi 30 giorni)
David
David il 12 Mag 2012
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);

Risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by