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

  1. %MAGIC    Magic square.
  2. %    MAGIC(N) is an N-by-N matrix constructed from the integers
  3. %    1 through N^2 with equal row and column sums.
  4.  
  5. %    Copyright (c) 1984-93 by The MathWorks, Inc.
  6. %    Built-in function.
  7.