Creating vector from a cloumn of a matrix

1 visualizzazione (ultimi 30 giorni)
Berkay
Berkay il 29 Ago 2022
Risposto: Voss il 29 Ago 2022
I want to create a row vector from the first column of the matrix
I try;
RowMatrix = Matrix(:,1)
but it gives a column vector

Risposta accettata

Voss
Voss il 29 Ago 2022
Transpose the column:
RowMatrix = Matrix(:,1).'

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by