Interpolation time response

Oscar Bayona Candel oscarbayonacandel at hotmail.com
Mon Jul 13 07:58:10 CDT 2009


Hi all,

 

I´m using this code to obtain some interpolated points based on this matrix:

 

 

HP=[

 

1   1
30 2
60 8
90  10
7300 27
7665 30
8030 31
8395 32
8760 37
9125 38
9490 44
9855 46
10220 48
10585 50
10950 53];

 

 for i=1:10950
     
z(i)=spline(HP(:,1),HP(:,2),i);

end

 

z is a matrix whose rows are all the interpolated numbers from 1 to 10950.

 

My problem is that it costs a lot of time to implement or execute.

 

There is a similar function more quick or fast to produce similar results?

 

thanks in advance and best regards.

 

_________________________________________________________________
Nuevo Windows Live, un mundo lleno de posibilidades. Descúbrelo.
http://www.microsoft.com/windows/windowslive/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090713/953f196a/attachment.html 


More information about the Help-octave mailing list