LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert matrix in one row vector

Solved!
Go to solution

Hi,

Does anyone know what is the best way to create one row matrix (vector) from M x N matrix by putting all rows, from 1 to M, of the original matrix into first row of new matrix the following way:

 

A = [row1; row2, ..., rowM]

B = [row1, row2, ..., rowM]

Example:

 

A = [1 1 0 0; 0 1 0 1]

B = [1 1 0 0 0 1 0 1]

 

 


0 Kudos
Message 1 of 3
(5,075 Views)
Solution
Accepted by topic author NapDynamite
0 Kudos
Message 2 of 3
(5,069 Views)

Worked!! Thank you


0 Kudos
Message 3 of 3
(5,041 Views)