Problem 44155. Geometric Series
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 commentsProblem Recent Solvers68
Suggested Problems
-
Remove any row in which a NaN appears
8751 Solvers
-
428 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
874 Solvers
-
442 Solvers
-
Sum the 'edge' values of a matrix
393 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!