Creating vector from a cloumn of a matrix

2 ビュー (過去 30 日間)
Berkay
Berkay 2022 年 8 月 29 日
回答済み: Voss 2022 年 8 月 29 日
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

採用された回答

Voss
Voss 2022 年 8 月 29 日
Transpose the column:
RowMatrix = Matrix(:,1).'

その他の回答 (0 件)

カテゴリ

Find more on Creating and Concatenating Matrices in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by