Reply To: Fractional Control Basic

Home Forums FOMCON toolbox: Support forum Fractional Control Basic Reply To: Fractional Control Basic

#1110
pritesh shah
Guest

Hi Alekesi,

I want to find out output of system using lsim function.

If it is same time interval (T), then we are able to get correct results.

But, in one of the problem, time interval is not the same. I am getting different answer.

Could you please suggest something.

Thanking You in advance,

Say example,

G=fotf(‘1′,’s^0.5+1’);
u=ones(1, 1001);
t=0:0.01:10;
y=lsim(G,u,t);
% I will get correct result as time vector has same interval.

% if t has variable time values, I am not getting correct answer.
% U have checked code of lsim, h=t(2)-t(1)