Display a MATLAB Matrix in an HTML Table

Magic square size (minimum is 3, maximum is 20):

 

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