LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

concatination of matrix element

hi!

i have a problem. how to implement this code in l.v?

r1= 1 2 3 

       4 5 6

r1( : = 1

          4

          2

          5

          3

          6

how can it possible in l.v?

thnx

0 Kudos
Message 1 of 7
(2,948 Views)

Hi Fairy55,

 

this question has already been posed AND answeared completely in this reply:

 

https://forums.ni.com/t5/LabVIEW/if-condition/m-p/2438320#M750306

 

 

you can do all of this with functions from the array palette, like this:

 

2013-05-26_reshape2.png

 

 

 

If this was not the answear to your problem, you are supposed to reformulate your question; don't copy&paste exactly the same text again!

 

 

 

Alex

 

 

 

0 Kudos
Message 2 of 7
(2,931 Views)

thnx Alex 🙂

0 Kudos
Message 3 of 7
(2,909 Views)

hey Alex!

it is the result what i want but is it possible to get 1 d array of concatenated columns instead of a 2 d???

0 Kudos
Message 4 of 7
(2,902 Views)

indeed, very much possible.

don't wire the constant which I called columns* !

 

2.png

0 Kudos
Message 5 of 7
(2,883 Views)

@alexderjuengere wrote:

indeed, very much possible.

don't wire the constant which I called columns* !

2.png


 

 

... or slightly more elegant:

 

 

 

(works equally well for arrays with 2 or more dimensions without any other changes! :))

Message 6 of 7
(2,878 Views)

@altenbach wrote:

@alexderjuengere wrote:

indeed, very much possible.

don't wire the constant which I called columns* !

2.png


 

 

... or slightly more elegant:

 

 

 

(works equally well for arrays with 2 or more dimensions without any other changes! :))


 

 

once again

how could I've been that blind?!

Smiley Surprised

 

 

 

 

 

I like this forum!

Smiley LOL

0 Kudos
Message 7 of 7
(2,860 Views)