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 件のコメント

Abolfazl Chaman Motlagh
Abolfazl Chaman Motlagh 2022 年 9 月 27 日
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 2022 年 9 月 27 日
I want them both displayed on the same image

サインインしてコメントする。

回答 (1 件)

Image Analyst
Image Analyst 2022 年 9 月 27 日

0 投票

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

1 件のコメント

Jasmine Penney
Jasmine Penney 2022 年 9 月 27 日
I have tried all 3, they just give a black square.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeVehicle Scenarios についてさらに検索

質問済み:

2022 年 9 月 27 日

コメント済み:

2022 年 9 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by