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
-
The Hitchhiker's Guide to MATLAB
3414 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
892 Solvers
-
555 Solvers
-
Sum the real and imaginary parts of a complex number
145 Solvers
-
Matrix of almost all zeros, except for main diagonal
191 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!