| Computers Forum Index » Computer Languages (Labview) » Array question... |
|
Page 1 of 1 |
|
| Author |
Message |
| HardySpicer... |
Posted: Tue Jul 28, 2009 9:50 pm |
|
|
|
Guest
|
I have a 1X2X2 dimension array and I need to convert it to a 2X2
matrix. The array to matrix thing won't work as the arrays are of the
wrong dimension. How do I equalise them? I tried delete subset array
etc and no luck.
Hardy |
|
|
| Back to top |
|
|
|
| ... |
Posted: Fri Jul 31, 2009 3:14 am |
|
|
|
Guest
|
HardySpicer wrote:
Quote: I have a 1X2X2 dimension array and I need to convert it to a 2X2
matrix. The array to matrix thing won't work as the arrays are of the
wrong dimension. How do I equalise them? I tried delete subset array
etc and no luck.
Hardy
This newsgroup isn't really active.
forums.ni.com is a better place to post these questions.
I presume you want to do this pro grammatically in Labivew. One thing that you could do is just to index into the array, addressing the first indice "1". This will result in a 2x2 double array (matrix). |
|
|
| Back to top |
|
|
|
| Dan Brzozowski... |
Posted: Mon Aug 10, 2009 2:28 am |
|
|
|
Guest
|
HardySpicer wrote:
Quote: I have a 1X2X2 dimension array and I need to convert it to a 2X2
matrix. The array to matrix thing won't work as the arrays are of the
wrong dimension. How do I equalise them? I tried delete subset array
etc and no luck.
Hardy
try "reshape array" |
|
|
| Back to top |
|
|
|
|