Magic Square in an HTML Table

Size: $msize$
Sum of all columns, rows, and diagonals: $msum$

©2001 by The MathWorks, Inc. All rights reserved. MATLAB is a registered trademarks of The MathWorks, Inc.