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

조회 수: 4 (최근 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 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