Problem 2550. Evaluating a polynomial
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
function y = equation(x)
syms f z
f=3*z^5-z^3+8*z-3
y=subs(f,x)
end
why is not working?
syms requires the Symbolic Math Toolbox, which is not available on Cody.
Problem Recent Solvers317
Suggested Problems
-
1398 Solvers
-
251 Solvers
-
Back to basics 9 - Indexed References
407 Solvers
-
Get the length of a given vector
6163 Solvers
-
Area of an equilateral triangle
4245 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!