How do you apply FOR loop to cell arrays?
Show older comments
I've a large 512x512 matrix which I've divided into 1024 16x16 matrices, and again these 1024 16x16 matrices I've further divided into 4x4 matrix. I've used mat2tiles function for this division.
Then I've applied a function to a 4x4 matrix. Now I want to apply this same function to all the 4x4 matrices present in the cell.
Any idea how to proceed further from this?
Thank you.
2 Comments
Rik
on 24 Nov 2020
What have you tried?
You can show exactly what you did either with your actual data, or with data=rand(512,512);.
Abhishek Baba
on 24 Nov 2020
Edited: Rik
on 24 Nov 2020
Accepted Answer
More Answers (0)
Categories
Find more on Image Arithmetic 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!