how to divide 90*90 size matrix into 3*3 windows

1 view (last 30 days)
i=rand(90); b=3*ones(10,1); c=mat2cell(i,b,b);

Accepted Answer

Birdman
Birdman on 6 Mar 2018
i=rand(90);
reshape(i,3,3,[])

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!