help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Interpolation time response


From: HALL, BENJAMIN PW
Subject: RE: Interpolation time response
Date: Mon, 13 Jul 2009 09:09:20 -0400

 


From: Oscar Bayona Candel [mailto:address@hidden
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 )
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]