|
Carp Fisher <bmjim@gmail.com> wrote in message <14615566.1236809526065.JavaMail.jakarta@nitrogen.mathforum.org>...
> I have a surface that is defined by a megrid of x, y, and z values and created by the 'surf' command.
>
> I want to find the minimum z value of the surface and then the corresponding x and y values. I've tried using the 'min' function but no luck so far. Any general tips? Thanks,
>
The minimum element can be gained from my
min2 function, although this is not a difficult
thing to do in any event.
http://www.mathworks.com/matlabcentral/fileexchange/22995
If what you really want is to find an interpolated
minimum, then you need to use an interpolation
method. interp2 will interpolate it, but you need
to use a smooth interpolant. Use the spline method.
John
|