LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Transpose 1D Array

And why not????

 

Just look at the detailed help for the darned thing

Capture.png


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 32
(2,115 Views)

Since it seems part of LabVIEW, it probably does something, such as adding an internal tag to the data. (similarly, remember that the compiler not always transposes a 2D array if requested during computations, but just tags it to have the indices swapped, and e.g. be autoindexed first by columns, etc. in order to avoid an expensive transpose operation if it is not really needed).

 

Do you know where this VI is located in the LabVIEW distribution? My guess is that it could have something to do with Mathscript, since the matlab syntax does make a distinction between row and column vectors, while native LabVIEW does not. So I could imagine that it is used in some of the linear algebra there.

 

Of course I am wildly guessing here an could be completely wrong 😄

Message 12 of 32
(2,107 Views)

Example_VI_BD.png

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 13 of 32
(2,102 Views)

@aputman wrote:

Example_VI_BD.png


This is a standard matrix function and probably has little to do with this discussion.

0 Kudos
Message 14 of 32
(2,093 Views)

@altenbach wrote:

@aputman wrote:

Example_VI_BD.png


This is a standard matrix function and probably has little to do with this discussion.


....Yes but it is also a linear algebra function, as you mention above.  

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 15 of 32
(2,090 Views)

@aputman wrote:

@altenbach wrote:

@aputman wrote:

Example_VI_BD.png


This is a standard matrix function and probably has little to do with this discussion.


....Yes but it is also a linear algebra function, as you mention above.  


If the one posted by Paul is a linear algebra function for Mathscript that does the same operation (at least on a 1D matrix) as the Transpose Matrix, why are there two VI's that do the same thing?  Why is it called (or labeled by Paul) as Transpose 1D Array, when we all know that has no meaning?  I don't have access to 2016 to see where this came from so is Paul trolling us or is this a troll by NI?  Does the VI output the same array as the input (meaning it does nothing....has no meaning)? 

aputman
------------------
Heads up! NI has moved LabVIEW to a mandatory SaaS subscription policy, along with a big price increase. Make your voice heard.
0 Kudos
Message 16 of 32
(2,077 Views)

@jwscs wrote:

but what is this endeavor about? i'm curious.


I ran across it, and couldn't resist tossing it out just for fun.

Obviously it takes a vertical 1D array and converts it to s horizontal 1D array.  (But what if I want to go the other way?)

"If you weren't supposed to push it, it wouldn't be a button."
Message 17 of 32
(2,072 Views)

@Ben_Manthey wrote:

These days 'Trans Rights' are all the rage. Make sure you ask it what pronouns it prefers.


If my employer ever asks me what pronoun I prefer, I'll answer: "His most supreme excellence, the imperial Grand Poobah of the entire North American continent" (after all, I can 'prefer' anything I want).

"If you weren't supposed to push it, it wouldn't be a button."
Message 18 of 32
(2,068 Views)

@altenbach wrote:

@aputman wrote:

Example_VI_BD.png


This is a standard matrix function and probably has little to do with this discussion.


It doesn't take a matrix as input, only a 1D array.

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 19 of 32
(2,064 Views)

It's a real built-in LabVIEW function.  The output is the same as the input.  I can't imagine why it's there (except to give us something silly to talk about).

"If you weren't supposed to push it, it wouldn't be a button."
0 Kudos
Message 20 of 32
(2,062 Views)