From: João on
Hi!
I've a series of data depending of space (velocity, acelaration,ect)
the independet variable (space) is not separated by equal steps (ex. 0; 0.94;1.3;)
So, I want to have the data in equal steps 0.1 in 0.1.
Any help?
Thanks.
From: Steven_Lord on


"João " <jonhy_ferreira1(a)hotmail.com> wrote in message
news:i36mns$839$1(a)fred.mathworks.com...
> Hi!
> I've a series of data depending of space (velocity, acelaration,ect)
> the independet variable (space) is not separated by equal steps (ex. 0;
> 0.94;1.3;)
> So, I want to have the data in equal steps 0.1 in 0.1.
> Any help?
> Thanks.

Use a lookup table block.

http://www.mathworks.com/access/helpdesk/help/toolbox/simulink/slref/f4-4889.html#f4-5701

or INTERP1 the data in MATLAB and use the interpolated data in your Simulink
model.

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com