how to add two images in one, next to each other I have two splited images from diference matlab files. Now i need to merge them, near to each other. I tried supblot, imadd,cat methods, but nothing works. Please help me. 

rezult after sublot experiment.
combinedImage = [leftImage, rightImage];