Info
This question is closed. Reopen it to edit or answer.
How to put a 3D element in every place of a 3D matrix?
1 view (last 30 days)
Show older comments
How can I perform this?
im1(1:10, 1:10, :) = im2(1, 1, :);
RHS is a 3D element, basically RGB.
It can be done by:
zoomIm(1:10, 1:10, 1) = im(1, 1, 1);
zoomIm(1:10, 1:10, 2) = im(1, 1, 2);
zoomIm(1:10, 1:10, 3) = im(1, 1, 3);
But is there any efficient way??
0 Comments
Answers (1)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!