MATLAB: How to obtain similar size of subplots

image processing

I already have a figure which has 2 subplots. But by default they are in two different sizes.i want to get equal size of subplots in the figure. Any suggestions?

Best Answer

t=0:0.1:10;
y1=sin(t);
y2=cos(t);
subplot(211);
plot(t,y1);
subplot(212);
plot(t,y2);
Where do you see different sizes?