LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiplex Multiple Columns into One

Solved!
Go to solution

What if I a Matrix with with N columns or size M and I wanted to create a new matrix by decomposing each column into 2 columns. Making a new matrix with 2N columns of size M/2. (Essentially doing the opposite of what I asked above^)

 

Thank you.

0 Kudos
Message 11 of 12
(918 Views)

Again, columns are not in memory order, so you need to transpose. Reshaping also truncates or pads if the number of elements does not correlty fit in the final array. Buth otherwise... why don't you just try it with a small 2D array instead of asking us? 😄

 

Also note that we are talking about 2D arrays. (In LabVIEW, a matrix is a special datatype and you should only use the term if you actually have that)

0 Kudos
Message 12 of 12
(914 Views)