<H2>Section 34: Product of Dimensions Is Greater Than Maximum Integer</H2><SAMP>Product of dimensions is greater than maximum integer.</SAMP>
<br><STRONG>Explanation:</STRONG><BR>You are attempting to create a full matrix with more elements than the maximum number of elements allowed in MATLAB.
<p><STRONG>Common causes:</STRONG><BR>MATLAB will attempt to create a matrix with a large number of elements, as long as that number of elements is less than the maximum number of elements allowed in a matrix. You can determine this maximum using the <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/computer.html" target="_blank" ><KBD>COMPUTER</KBD></A> function.
<p><STRONG>Solution:</STRONG><BR>If the matrix you are attempting to create has relatively few nonzero elements, you may be able to create it as a sparse matrix. You can use the <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/sparse.html" target="_blank" ><KBD>SPARSE</KBD></A> function and the other sparse matrix manipulation functions to create and manage this matrix. Type
<P><PRE>help sparfun</PRE>for a list of the sparse matrix manipulation functions. Note, however, that the limitation on the maximum number of elements still exists; now it only applies to the nonzero elements of the sparse matrix. If your matrix is not sparse, however, you will need to break it into sections with a number of elements less than the maximum returned by the <KBD>COMPUTER</KBD> function.
<p><STRONG>Example demonstrating this error:</STRONG><BR><KBD>ProductDimensionsTooLarge.m <BR><BR>这是mathworks上的一个说明,自己看吧</KBD>