Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66648

rearrange 2 d array into ascending order

$
0
0

Hi,

 

i have a 2d array with the first column being a channel number for a thermocouple (15 thermocouples , 0-F) and the secound column being the data for that thermocouple. i am trying to rearrange the Array so that the first  'n' amount of rows is channel 0 and then the next rows are channnel 1 etc all with there corresponding data.

 

all i have been able to do so far is to arrange the channels in ascedning order but doing so it has alsos aranged the data in ascedning order so when i plot the data for channels 0 on a graph it plots it as a linear line . is there any way of just arranging the rows by ascedning order using the Channel column as the raference to arrange?

 

 


Viewing all articles
Browse latest Browse all 66648

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>