discrete time lsim

3 vues (au cours des 30 derniers jours)
David
David le 12 Mai 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);

Réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by