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
-
Find the sum of the elements in the "second" diagonal
1204 Solvers
-
982 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
160 Solvers
-
Create sequnce 1 4 9 16 25.........
414 Solvers
-
Back to Basics - Find no. of elements in a matrix?
327 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.