I have following matlab code and I want to do it without using LabView MathScript. I want to do it using labview reshape array function. Can any body guide me how to do it.
Reshape a 3-by-4 matrix into a 2-by-6 matrix in MATLAB
A = 1 4 7 10 2 5 8 11 3 6 9 12 B = reshape(A,2,6) B = 1 3 5 7 9 11 2 4 6 8 10 12
So how can do this in LabView using reshape array function. See attached image below for details.
The result is not as same as matlab. Can any body guide me how can i get same result as matlab.
Solved! Go to Solution.
atleast a quick&dirty two-step process:
(Using an older LV version I cannot use the concatenating output tunnel.)
Altenbach may simplify this. 😄
in my snippet you see that "array1" indicator. This will be your 1D array input when you want such an input - if it has the same/similar content as array1…