how to convert in matlab?

1 次查看(过去 30 天)
sandy
sandy 2014-3-13
评论: sandy 2014-3-13
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

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by