MATLAB: Hi,how to display two image in the same window with matlab

dicom image-medical image processingImage Processing Toolbox

i write a code in the matlab in order to improve the qulity of my dicom image and after implement this change, i want to show the original and improved image in the same window for comparing two obtained image. my matlab platform is R2013a in the unix system. thanks in advance to your attention and maybe your answer.

Best Answer

Try imshowpair() or imfuse(). If they're not in your 3 year old version then upgrade to the newest version or else stitch them together with , or ;.
wideImage = [image1,image2];
tallImage = [image1;image2];