Programming Previous page   Next Page

Scalars

Any individual real or complex number is represented in MATLAB as a 1-by-1 matrix called a scalar value:

Use the isscalar function to tell if a variable holds a scalar value:


Previous page  The Empty Matrix Vectors Next page

© 1994-2005 The MathWorks, Inc.