From: dpb on
Travis wrote:
> OK here are the variables used.

....[data elided for brevity]...

> Dist = min(dist):1:max(dist);
> Depth = min(depth):0.5:max(depth)';
> TEMP = interp2(dist,depth,temp,Dist,Depth,'spline');
>
> The original data points are not always held.

In my release the NaNs propogate thruout w/ the spline as submitted. I
didn't take time to pare down into the smaller region that would be
constrained.

Removing 'spline' does return the table values at the intermediate
points here.

I can only surmise the spline is least-squares rather than thru each
point perhaps. Doc's don't specify in my version/release what is used.
Might try some of the other choices if needed.

I wasn't thinking of other than linear, though, I realize.

--

First  |  Prev  | 
Pages: 1 2 3 4 5
Prev: nntool
Next: spatial data and neural networks