how to convert in matlab?

1 Ansicht (letzte 30 Tage)
sandy
sandy am 13 Mär. 2014
Kommentiert: sandy am 13 Mär. 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

Akzeptierte Antwort

Roger Stafford
Roger Stafford am 13 Mär. 2014
A = reshape(A.',1,[]);

Weitere Antworten (0)

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by