how to convert in matlab?

1 visualizzazione (ultimi 30 giorni)
sandy
sandy il 13 Mar 2014
Commentato: sandy il 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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by