cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Spline Interpolation

JohnRudnicki
14-Alexandrite

Spline Interpolation

Is there a way to interpolate values of a matrix that is not square? I.e.
cspline(Mxy,Mz)and interp(vs,Mxy,Mz,X)
where Mz is not square?

Matlab has such a function but is there a way to do it without inserting a Matlab component (which I havent tried before).

Thanks.
4 REPLIES 4

One way is to interpolate the matrix in one direction to create a new column (or row), and then interpolate the column (or row).

Richard

Yes, See my cubic splines worksheet for the functions.
__________________
� � � � Tom Gutman
JohnRudnicki
14-Alexandrite
(To:TomGutman)

Tom,

Thanks. It took me a while to find it, but it worked like a charm and studying it was a real education.

jwr

On 12/3/2009 9:50:40 PM, Tom_Gutman wrote:
>Yes, See my cubic splines
>worksheet for the functions.
>__________________
>� � � � Tom Gutman


On 12/3/2009 4:38:05 PM, jwrudn wrote:
>Is there a way to interpolate
>values of a matrix that is not
>square? I.e.
_______________________________

YES, use Valery rectangular spline.

jmG

Top Tags