MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Opportunities for recent engineering grads.
New to MATLAB?
Create 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.