Compute the value of a polynomial of degree n with all coefficients '1', at value x. n is always n>=0.
p(x)=1+x+x^2+...+x^n
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers104
Suggested Problems
-
Remove any row in which a NaN appears
8794 Solvers
-
Find the sum of the elements in the "second" diagonal
1208 Solvers
-
Determine the number of odd integers in a vector
858 Solvers
-
390 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1899 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!