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
-
How to find the position of an element in a vector without using the find function
2820 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2057 Solvers
-
Set the array elements whose value is 13 to 0
1451 Solvers
-
537 Solvers
-
Convert a Cell Array into an Array
2315 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!