Split matrix in 15 submatrices

1 vue (au cours des 30 derniers jours)
Kim Arnold
Kim Arnold le 23 Août 2021
Commenté : Stephen23 le 23 Août 2021
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!

Réponse acceptée

Steven Lord
Steven Lord le 23 Août 2021
Don't try to make variables with numbers in the name like A1, A2, ... A15. Use mat2cell instead.
  1 commentaire
Kim Arnold
Kim Arnold le 23 Août 2021
Thanks, yes i figured it out :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Numeric Types dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by