Cut a picture as needed
1 view (last 30 days)
Show older comments
For example, I want to cut the picture into 9 pictures. I want to use the for loop, and then save the cut image into variables A1, A2,,, an. In this way, how do I in AI in the for loop change with the loop? I know how to save it locally, but I want to save it into the workspace. Thank you. I'd appreciate it if you can give an example
0 Comments
Accepted Answer
Matt J
on 26 Mar 2022
Edited: Matt J
on 26 Mar 2022
Image=rand(900);
A=mat2tiles(Image,[300,300])
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!