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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Creating and Concatenating Matrices 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by