title: how to create a very large matrix using matlab
body: <p>I have a problem with matlab when I'm trying to create a a matrix with a very large size such as 40000x40000.</p>
  
  <p>for example:</p>
  
  <p>x=zeros(40000,40000);</p>
  
  <p>the error message is "??? Maximum variable size allowed by the program is exceeded. "</p>
  
  <p>is there any solution.</p>
  
  <p>Also I have another question, can we have a matrix with variable column size such as in java.</p>