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

Learn moreOpportunities for recent engineering grads.

Apply TodayCreate a variable *m* as a magic square with the size 6 x 6

Magic squares are defined as square matrices, where the sum of all rows and columns are equal.

(Hint: see **help magic**)

Replace all the numbers above or equal to 20 with zero.

92 correct solutions
35 incorrect solutions

Last solution submitted on Dec 10, 2014