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

217 correct solutions 995 incorrect solutions
Last solution submitted on Jan 28, 2016

Problem Comments

Solution Comments