Given a number x, your function must return the summation of all integers from 1 to 2^x.
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers115
Suggested Problems
-
Set the array elements whose value is 13 to 0
1450 Solvers
-
07 - Common functions and indexing 1
454 Solvers
-
Add a row of zeros on top of a matrix
268 Solvers
-
6213 Solvers
-
Replace every 3rd element in a vector with 4
267 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
The problems title and description have been cleaned up along with an expanded test suite.