Split matrix in 15 submatrices

조회 수: 1 (최근 30일)
Kim Arnold
Kim Arnold 2021년 8월 23일
댓글: Stephen23 2021년 8월 23일
I have a 22515x1122 Matrix and would like to split it into 15 Submatrices (in cells) of the size 1501 x 1122. So the row number 22515 should be divided by 15 giving you the 1501 and column number stays the same. What is the easiest way to do this?
Thanks for your help!

채택된 답변

Steven Lord
Steven Lord 2021년 8월 23일
Don't try to make variables with numbers in the name like A1, A2, ... A15. Use mat2cell instead.
  댓글 수: 1
Kim Arnold
Kim Arnold 2021년 8월 23일
Thanks, yes i figured it out :)

댓글을 달려면 로그인하십시오.

추가 답변 (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