title: How can I set subplot size in MATLAB figure?
body: <p>I often need to plot 10 images together, but using this code results in small images : </p>
  
  <pre><code>img = rand(400,600); 
  for i=1:10
   subplot(2,5,i); 
   imshow(img); 
   title(['Image ' int2str(i)]); 
  end
  </code></pre>
  
  <p>As you can see, the images do not use all available space in the screen. How can I increase the size, or decrease the padding/margin between them?</p>
  
  <p><img src="https://i.stack.imgur.com/e0JwC.png" alt="enter image description here"></p>
  
  <p>Thanks for any help.</p>