MATLAB: How to display two output images in different figures at the same time

MATLAB

pic1 = double (Pic1);
pic2 = double(Pic2);
pic3 = double(Pic3);
pic4 = double(Pic4);
ILB = 1;
B = pic1./ILB;
ILC = 0.2;
VC(1:1024,1:1024)= 0.581695;
VT = 0.025;
C = (pic2 - B*ILC)./(exp(VC./VT))
IL = 1;
V1 = VT*log((pic3 - B*IL)./(C));
V2 = VT*log((pic4 - B*IL)./(C));
Vapp1(1:1024,1:1024)=0.616185;
Vapp2(1:1024,1:1024)=0.575044;
jp = 0.038;
R =(((Vapp2-V2).*exp(V1./VT))-((Vapp1-V1).*exp(V2./VT)))./(jp.*(exp(V2./VT)- exp(V1./VT)))
imagesc(R);
j0 = ((Vapp2-V2-Vapp1+V1).*(jp))./(exp(V1./VT).*(Vapp1-V2)-exp(V2./VT).*(Vapp1-V1));
imagesc(j0)
I want to display images R and j0 at the same time in separate figures? Is there any error in my coding?

Best Answer

If you want them in separate figures then use
figure
before the second imagesc()