LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find the closest number from 2D array

Solved!
Go to solution

@altenbach wrote:

wiebe@CARYA wrote:
I think you're right, because the 1D array isn't guaranteed (or required IIRC) to be ordered.

The help says "non-descending"., but I don't understand the 2D part: Must be some math lingo.... 😄 

 

QUOTE: "Interpolates points in a 1D array that represents a 2D non-descending graph."


Never though about reading the help 😋.

 

In my defense, it now takes 45 sec. to open the online help. I sometimes open an old LV version to get easy access to the 'fast' help.

 

The '2D' doesn't refer to the array dimension, but to the data space of the graph.

 

The 1D array can represent X, Y points (iff it's a 1D array of clusters, see "array of numbers or points"). Those points represent a 2D data space (in a 1D array).

 

If the input array is a 1D array of doubles (the Y values), the indices are the X values, and those X, Y values also represent a 2D data space with connected points (a graph).

 

Wording could be clearer.

 

Message 11 of 11
(83 Views)