MATLAB: How to convert in matlab

regexpreshapesplit

i have variable in workspace as (14*5)double. i need to convert each row to consecutive rows as (1*70)
eg: 1 2 3
4 5 6
output to be
1 2 3 4 5 6

Best Answer

A = reshape(A.',1,[]);