Hi, I'm looking for a way to sort a (16 x 4001) 2D array. There is a solution posted for an n x 2 array. However, it won't work for this large one. Could someone help me? Thanks!!!
Jen, I'll let you double-check it, but attached is a 'Sort 2D Array' VI. Its from NI, and as far as I can tell, it should handle your task. If not, it may offer some ideas. Good luck with it, Doug
Jen wrote: > > Hi, > I'm looking for a way to sort a (16 x 4001) 2D array. There is a > solution posted for an n x 2 array. However, it won't work for this > large one. Could someone help me? Thanks!!!
Hello, could you tell us what you mean by sorting a 2D array? This seems to be abiguous to me. -- Pierre Meyer
A very simple way is to convert the 2D array into a 1D array of cluster of 1D array (in a For Loop, bundle the indexed 1D array). Sort the 1D array of clusters and reconstruct the 2D array (unbundle in a For Loop).
Jean-Pierre Drolet
"Jen" a écrit dans le message news: 5065000000080000009C240000-993342863000@exchange.ni.com... > Hi, > I'm looking for a way to sort a (16 x 4001) 2D array. There is a > solution posted for an n x 2 array. However, it won't work for this > large one. Could someone help me? Thanks!!!