I think it has something to do with using vectors and the input, but I am not really sure.
What would a good script m-file that calculates A polynomial of degree n?
2 views (last 30 days)
Show older comments
I want to be able to write this file where I can input a x value and a c value for the polynomial. Ex. p(x)= c1 = c2*x + c3*x^2+...+cn+1 x^(n). I want find the value of p(x)
2 Comments
Star Strider
on 5 Feb 2016
Apparently my polyval suggestion wasn’t the Answer, so I deleted my reference to it.
Answers (0)
See Also
Categories
Find more on Polynomials in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!