LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Array question

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
0 Kudos
Message 1 of 7
(3,375 Views)

hope this helps:

 

I use an index array just so you know

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 2 of 7
(3,372 Views)
HardySpicer wrote:
> 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).
0 Kudos
Message 3 of 7
(3,317 Views)

Anonymous wrote:

This newsgroup isn't really active.
forums.ni.com is a better place to post these questions.

What does that mean?  This message is on the NI discussion forums.

 

Link to your message is http://forums.ni.com/t5/forums/replypage/board-id/170/message-id/428494.Smiley Surprised

 

 

0 Kudos
Message 4 of 7
(3,307 Views)
Whoever this user is, he/she has posted the comment many times, apparently only uses a usenet reader, and is plainly too stupid to realize that messages here are mirrored to comp.lang.labview.
0 Kudos
Message 5 of 7
(3,297 Views)
HardySpicer wrote:
> 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"
0 Kudos
Message 6 of 7
(3,239 Views)

 


This newsgroup isn't really active.
forums.ni.com is a better place to post these questions.

 

 

Lol!!!!!!!!

0 Kudos
Message 7 of 7
(3,215 Views)