1

Is there a way to split a 300x400 matrix into 8 300x50 matrices?

Ansari
  • 8,168
  • 2
  • 23
  • 34
user3124394
  • 33
  • 1
  • 4

1 Answers1

0

The command mat2cell does exactly this. Suppose A is your original matrix. Then

splitA = mat2cell(A, 300, 50*ones(1, 8));

will do what you want.

Ansari
  • 8,168
  • 2
  • 23
  • 34