How I can convert huge matrix into small blocks

10 views (last 30 days)
Hi everyone
Basically, I have a *.txt file with 2048x2048 matrix, I want to convert it into 64 small matrices with size of 256x256.
How I can do this in matlab.
Thanks In advance

Answers (1)

Dinesh Yadav
Dinesh Yadav on 24 Jul 2020
First read your text file into matrix. An example is in the link below
and the break into smaller matrices by reading the following link

Categories

Find more on Convert Image Type in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!