LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D array question

Solved!
Go to solution

Hi!

 

I have two 1D arrey for example : 1 2 3 4 5 and 6 7 8 9 10.

I wan't a 2D arrey or a matrix which looks like:

 forum.JPG

Any idea how to make it?

Thanks: Kolos 

0 Kudos
Message 1 of 17
(4,657 Views)
You can use an "array to matrix" After using build array.
0 Kudos
Message 2 of 17
(4,653 Views)

Ok, but how to build the array? 

0 Kudos
Message 3 of 17
(4,651 Views)

I had make this:

forum.JPG

But there is a lot of unwanted 0 .

Why?

( Or any other idea? It's important to me, to make it's so fast as i can...) 

(i attach my vi) 

0 Kudos
Message 4 of 17
(4,643 Views)

Try this.

Array.JPG

Message Edited by Baji on 08-03-2009 02:32 PM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Message 5 of 17
(4,637 Views)

Not a bad idea, but it's 10 time slower like my one... 

I need a faster solution... 

0 Kudos
Message 6 of 17
(4,626 Views)
Check this.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Message 7 of 17
(4,621 Views)
Solution
Accepted by topic author Kolos
How you saying you are faster than me.Smiley MadRobot Mad
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Message 8 of 17
(4,607 Views)

Oh sorry Master!

You have right, i fault...

Your one is faster...

I'd make a mistake... 

Thanks for the help! 

Message Edited by Kolos on 08-03-2009 04:41 AM
0 Kudos
Message 9 of 17
(4,604 Views)

 



Oh sorry Master!

You have right, i fault...

Your one is faster...

I'd make a mistake... 

Thanks for the help!


 

 

LOL!!! Baji really got heated up on that didnt he :smileyvery-happy:


0 Kudos
Message 10 of 17
(4,600 Views)