-3

Convert the tuples of matrix A into columns in Matlab

A =[ 1 5 8; 6 6 7; 0 1 0 ] 

Is this the answer ?

B = reshape(A,1) 
horchler
  • 18,384
  • 4
  • 37
  • 73

1 Answers1

1

To convert A to column, you can use A=A(:).

It will get A= [1;6;0;5;6;1;8;7;0]

user1538798
  • 1,075
  • 3
  • 17
  • 42