How to take a column of matrix and turn it into vector

1 回表示 (過去 30 日間)
sophp
sophp 2018 年 11 月 26 日
回答済み: madhan ravi 2018 年 11 月 26 日
If I had a matrix [t,c] which is 100 by 5 column matrix and I want to extract the fifth column and turn it into a vector, how would I do this?

採用された回答

madhan ravi
madhan ravi 2018 年 11 月 26 日
vector=matrix(:,5)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeLogical についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by