Interpolation time response

Oscar Bayona Candel oscarbayonacandel at hotmail.com
Mon Jul 13 16:27:05 CDT 2009


thanks a lot for all¡¡¡¡


 


Subject: RE: Interpolation time response
Date: Mon, 13 Jul 2009 09:09:20 -0400
From: benjamin.hall at pw.utc.com
To: oscarbayonacandel at hotmail.com; help-octave at octave.org




 




From: Oscar Bayona Candel [mailto:oscarbayonacandel at hotmail.com] 
Sent: Monday, July 13, 2009 8:58 AM
To: oCTAVE
Subject: Interpolation time response

 
 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?
 
 
Read the help for spline, it indicates that the 3rd argument can be a vector
 
help spline
N = 10950;
z = spline( HP(:,1), HP(:,2), 1:N )
 
_________________________________________________________________
¿Quieres ver los mejores videos de MSN? Enciende Messenger TV
http://messengertv.msn.com/mkt/es-es/default.htm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090713/fc008852/attachment.html 


More information about the Help-octave mailing list