home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / l / l460 / 2.ddi / GENERAL.DI$ / SIZE.M < prev    next >
Encoding:
Text File  |  1993-03-07  |  445 b   |  14 lines

  1. %SIZE    Matrix dimensions.
  2. %    D = SIZE(X), for M-by-N matrix X, returns the two-element
  3. %    row vector D = [M, N] containing the number of rows and columns
  4. %    in the matrix.
  5. %
  6. %    [M,N] = SIZE(X) returns the number of rows and columns
  7. %    in separate output variables.
  8. %
  9. %     M = SIZE(X,1) returns just the number of rows.
  10. %    N = SIZE(X,2) returns just the number of columns.
  11.  
  12. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  13. %    Built-in function.
  14.