3 double images stored in a matrix
2 views (last 30 days)
Show older comments
Irwan Setiawan
on 29 Sep 2022
Commented: Irwan Setiawan
on 11 Oct 2022
I have 3 images of size 256 x 256, i want to stored them in a matrix 65536 x 3 double
0 Comments
Accepted Answer
Kevin Holly
on 29 Sep 2022
m1 = rand(256);
m2 = rand(256);
m3 = rand(256);
size(m1)
size(m1(:))
M(:,1) = m1(:);
M(:,2) = m2(:);
M(:,3) = m3(:);
size(M)
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!