Can two matrices be plotted on the same image

2 views (last 30 days)
I have two matrices that are the same size. I printed them using imagesc for each one. Is there a way to combine these two without adding them together?
  2 Comments
Abolfazl Chaman Motlagh
Abolfazl Chaman Motlagh on 27 Sep 2022
what do you mean by combining them together ? you wanna just show them beside eachother or create one image by 2 images?
Jasmine Penney
Jasmine Penney on 27 Sep 2022
I want them both displayed on the same image

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 27 Sep 2022
See imshowpair or imfuse, or simply
bothImages = [leftImage, rightImage];
imshow(bothImages);

Categories

Find more on Images in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!