Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

Problem 151. Magic!

Created by the cyclist

Check whether the input matrix is a normal magic square:

http://en.wikipedia.org/wiki/Magic_square

Output the logical value true or false.

Tags

Problem Group

Solution Statistics

232 correct solutions 1038 incorrect solutions
Last solution submitted on Jul 14, 2016

Problem Comments

Solution Comments