how to display multiple image
Show older comments
I am using image(C) function to display image. But I need to display to images simutaneously image(C1) and image(C2). How can i do that.please suggest.
Answers (2)
Sean de Wolski
on 6 May 2011
One way: Concatenate them
If they're the same size:
image([C C2]);
If not. Pad the smaller one with zeros so they're the same size and then do the aforementioned.
Another way: use subplots
doc subplot
Nehul Thakkar
on 6 May 2011
0 votes
U can use subplot command.....
subplot(1,2,1), subimage(X,map)
subplot(1,2,2), subimage(X2,map2)
Categories
Find more on Image Arithmetic 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!