06-22-2017 10:02 AM
Is there any easy way to do this? I can envision a way to do it by using loops, but that seems unnecessary. Maybe a way to transpose 2D array and convert?
Thanks
Solved! Go to Solution.
06-22-2017 10:06 AM - edited 06-22-2017 10:06 AM
06-22-2017 10:13 AM
I get index arrays and everything (I think).
Say for a 3 x 3 2D array. I know how to index to get what I want (ex. the second column only maybe). I need this single column to be transformed into a 1D array. If I transposed it, it would "look" like a 1D array, but it wouldn't be one. My problem is being able to make a 2D array that is "practically" a 1D array into a type 1D array.
Unless I'm missing something key about indexing arrays.
06-22-2017 01:37 PM
If you use Index Array one a 2D array, and you enter only ONE of row or column (not both) then you will extract that vector as a 1D array.
06-22-2017 01:46 PM
As a recent example, look at my image posted here. It gets the second column as a 1D array. You would wire a zero to the lower index, leaving the row index unwired. This will get you the first column.
All this is explained in the help.