Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers70
Suggested Problems
-
Back to basics 25 - Valid variable names
339 Solvers
-
Who is the smartest MATLAB programmer?
792 Solvers
-
07 - Common functions and indexing 2
423 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
400 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!