Clear Filters
Clear Filters

How to divide a 400x800 matrix to 8x8 blocks?

4 views (last 30 days)
Niloufar
Niloufar on 26 Jun 2023
Answered: Matt J on 26 Jun 2023
I have a 400x800 matrix I want to divide it into 8x8 blocks.I know I should use mat2cell but I don't know how.here is my code dctCr,dctCb and dctY are the matrices I want to divide.
leaves = imread('leaves.bmp');
YCBCR = rgb2ycbcr(leaves);
[Y Cb Cr] = imsplit(YCBCR);
% downsample
sampledCb = Cb(1:2:end,1:2:end);
sampledCr = Cr(1:2:end,1:2:end);
% DCT ransform
Cb = double(Cb);
Cr = double(Cr);
Y = double(Y);
Cb = Cb - 128;
Cr = Cr - 128;
Y = Y - 128;
dctCr = dct2(Cr);
dctCb = dct2(Cb);
dctY = dct2(Y);

Answers (3)

Stephen23
Stephen23 on 26 Jun 2023
M = rand(400,800);
[R,C] = size(M);
C = mat2cell(M,8*ones(1,R/8),8*ones(1,C/8))
C = 50×100 cell array
Columns 1 through 12 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 13 through 24 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 25 through 36 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 37 through 48 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 49 through 60 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 61 through 72 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 73 through 84 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 85 through 96 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 97 through 100 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double}

Matt J
Matt J on 26 Jun 2023
Easier to use mat2tiles from this FEX download,
mat2tiles(rand(400,800) ,[8,8])
ans = 50×100 cell array
Columns 1 through 12 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 13 through 24 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 25 through 36 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 37 through 48 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 49 through 60 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 61 through 72 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 73 through 84 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 85 through 96 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} Columns 97 through 100 {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double} {8×8 double}

Matt J
Matt J on 26 Jun 2023
Processing is usually faster if you keep the data in numeric form. Using this FEX download,
you can convert the original matrix into an 8x8xN stack:
A=rand(400,800);
B=blkReshape(A,[8,8], 1,1,[]);
whos A B
Name Size Bytes Class Attributes
A 400x800 2560000 double
B 8x8x5000 2560000 double

Tags

Community Treasure Hunt

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

Start Hunting!