title: Matlab: Subplot for 2 rows and 10 columns
body: <p>How can I plot 20 images in one plot with 2 rows and 10 columns in matlab? I know I have to use</p>
  
  <blockquote>
    <p>subplot() </p>
  </blockquote>
  
  <p>function. But I am confused regarding the parameters to be given. </p>
  
  <p>I tried giving</p>
  
  <blockquote>
    <p>subplot(2,10,row_index,col_index)</p>
  </blockquote>
  
  <p>but it doesn't seem to work.Please help.</p>