I want to attach two images.
조회 수: 1 (최근 30일)
이전 댓글 표시
채택된 답변
DGM
2022년 2월 25일
편집: DGM
2022년 2월 25일
If the adjacent dimensions of the arrays match, they can be concatenated.
A = imread('cameraman.tif'); % a picture
B = imcomplement(A); % another picture
C = [A B]; % concatenate horizontally
imshow(C)
D = [A; B]; % concatenate vertically
imshow(D)
See also cat(), vertcat(), horzcat()
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!