フィルターのクリア

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

2 ビュー (過去 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 ExchangeCreating and Concatenating Matrices についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by