How to convert a matrix to a vector

Hello , I have a square matrix let M=[1,2,4;6,5,7;8,3,9]. Now I have to convert it into a column vector as. c=[1;2;4;6;5;7;8;3;9]. How to do this? Please help.

More Answers (0)

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 18 Oct 2019

Answered:

on 18 Oct 2019

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!