hcrisp

10-27-2008, 11:50 AM

Here's another puzzler.

I have a mxn array representing elevation data. To make it simple:

WAVE> m = [10.,20.,30.]

WAVE> n = [20.,30.,40.]

WAVE> elev = [[1.,2.,3.], [1.,3.,5.], [1.,4.,7.]]

Next I take a "walk" across the mxn array using (x,y) pairs that fall in the m and n ranges.

WAVE> walk = [[15.2, 27.3], [21.9, 23.1], [29.3, 20.5]]

How do I evaluate the interpolated elevations at these walk points? Is there a PV-WAVE function that does this?

I have a mxn array representing elevation data. To make it simple:

WAVE> m = [10.,20.,30.]

WAVE> n = [20.,30.,40.]

WAVE> elev = [[1.,2.,3.], [1.,3.,5.], [1.,4.,7.]]

Next I take a "walk" across the mxn array using (x,y) pairs that fall in the m and n ranges.

WAVE> walk = [[15.2, 27.3], [21.9, 23.1], [29.3, 20.5]]

How do I evaluate the interpolated elevations at these walk points? Is there a PV-WAVE function that does this?