How many rectangles are there in an m × n grid ?
For example, if m=1 & n=2, we have 3 rectangles.
MATLAB and Simulink resources for Arduino, LEGO, and Raspberry PiLearn more
Opportunities for recent engineering grads.Apply Today
New to MATLAB?Learn MATLAB today!
Play games and win prizes!Learn more