Convert Column Vector to arrey matrix

조회 수: 5 (최근 30일)
Naufal Fathoni
Naufal Fathoni 2019년 7월 8일
답변: madhan ravi 2019년 7월 9일
Hi, I have a 500x1 column vector How do I convert it into a 25x20 array matrix where 1st row values of the matrix will be 1st - 20 values of the vector and so on.

채택된 답변

infinity
infinity 2019년 7월 8일
Hello,
You may see this function, it will help you

추가 답변 (1개)

madhan ravi
madhan ravi 2019년 7월 9일
Matrix = reshape(vector,20,25).'

카테고리

Help CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by