MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi test
Opportunities for recent engineering grads.
New to MATLAB?
Problem 189. Sum all integers from 1 to 2^n
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.
3 players like this solution
x = 7;
y_correct = 8256;
x = 10;
y_correct = 524800;