Re: interp2 partial derivatives



"Gordon " <MAAC.SImon@xxxxxxxxxx> wrote in message <gpmik1$jd5$1@xxxxxxxxxxxxxxxxxx>...
Hello,
I would like to to interpolate in 2d using the interp2 command. Furthermore I need the partial derivatives of the interpolating function. Does anyone know how to compute these derivatives efficiently?

Thanks in advance
Gordon

Which method? They are all zero for nearest neighbor
interpolation. All are piecewise constant for the linear
method. So the derivatives will depend on the method
you choose.

The simplest solution is to use gradient.

John
.



Relevant Pages

  • Re: IIR filter question
    ... this will be continuous in the 0th and 1st derivatives. ... why not design this with either Least Squares in MATLAB) or Parks-McClellan in MATLAB)? ... this is how you interpolate 255 upsampled samples between your original samples. ...
    (comp.dsp)
  • Re: cubic convolution interpolation at boundaries?
    ... splines") to interpolate data over a limited range in a variable x. ... If I am using 10 nodes, how should I interpolate the data between node ... then you have Oprecise derivatives everywhere and now can use simple ...
    (sci.math.num-analysis)
  • 2D and 3D spline coefficient computation
    ... I am trying to figure out how to interpolate best in 2D and 3D on ... regular grids using splines. ... different directions, i.e. calculate a spline along the x-axis and then ... not on the pure 2nd derivatives. ...
    (sci.math.num-analysis)
  • interp2 partial derivatives
    ... I would like to to interpolate in 2d using the interp2 command. ... Furthermore I need the partial derivatives of the interpolating function. ...
    (comp.soft-sys.matlab)