the easiest way to convert matrix to one row vector [duplicate]

Try this: B = A ( : ), or try the reshape function.

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/reshape.html

Leave a Comment