title: Size function in matlab
body: <p>I am a new in MATLAB and I have a problem understanding the function <code>size</code>
  in this statement: <code>for i=1:size(scale,2)</code> WHERE scale can be any integer number .e.g scale=5.</p>
  
  <p>I found that in MATLAB help <code>size(A,1)</code> returns the number of rows of A , and 
  <code>size(A,2)</code> returns the number of columns of A.</p>
  
  <p>Now I'm really confused as to what is the functionality of (size).</p>