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
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2580 Solvers
-
Arrange vector in ascending order
822 Solvers
-
Set the array elements whose value is 13 to 0
1451 Solvers
-
Change the first and last diagonal element of the identity matrix to zero
160 Solvers
-
546 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!