Azzera filtri
Azzera filtri

Reshaping the first row of a matrix as the first elements a column

2 visualizzazioni (ultimi 30 giorni)
I have a 11x3 matrix. How can I make the elements in the first row as the first three elements of the column and so on? the last matrix will be 1x33

Risposte (1)

KSSV
KSSV il 29 Ott 2021
A = rand(11,3);
A = A' ;
A(:)'

Categorie

Scopri di più su Resizing and Reshaping Matrices 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