how to convert in matlab?

2 views (last 30 days)
sandy
sandy on 13 Mar 2014
Commented: sandy on 13 Mar 2014
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

Accepted Answer

Roger Stafford
Roger Stafford on 13 Mar 2014
A = reshape(A.',1,[]);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!