Problem 151. Magic!

Created by the cyclist in Community

Check whether the input matrix is a normal magic square:

Output the logical value true or false.

Solution Stats

17.92% Correct | 82.08% Incorrect
Last solution submitted on Feb 13, 2019

Problem Comments

Solution Comments

Recent Solvers230

Suggested Problems

More from this Author23


Discover MakerZone

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

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!