discrete time lsim

8 ビュー (過去 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 Center および File ExchangeSimulink についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by