06-02-2016 04:40 PM
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.
06-02-2016 05:06 PM
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)