Can two matrices be plotted on the same image

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

what do you mean by combining them together ? you wanna just show them beside eachother or create one image by 2 images?
I want them both displayed on the same image

Sign in to comment.

Answers (1)

See imshowpair or imfuse, or simply
bothImages = [leftImage, rightImage];
imshow(bothImages);

Categories

Asked:

on 27 Sep 2022

Commented:

on 27 Sep 2022

Community Treasure Hunt

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

Start Hunting!