Copy of multiple equal size arrays into one big array using loop
显示 更早的评论
i am working on a project where i want to store all of my equal size images into one variable possible array. i have multiple images of 64x64 size, i have to read all of them form a single folder and need to store them in one variable. please help me i use arr(i,::) where i is counter control variable but its doesn't work
回答(1 个)
Use counter variable on the third dimension if your matrix is 2D already, for example,
arr(:,:,counterVar)
or a cell array
arr{counterVar}
2 个评论
Muhammad Qasim Mughal
2017-12-13
KL
2017-12-13
If everything is numeric and of uniform size then I'd suggest a normal matrix.
类别
在 帮助中心 和 File Exchange 中查找有关 Resizing and Reshaping Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!