Problem 2550. Evaluating a polynomial
Solution Stats
Problem Comments
Solution Comments
-
2 Comments
Sebastian Ciuban
on 21 Nov 2014
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?
David Verrelli
on 16 Mar 2018
syms requires the Symbolic Math Toolbox, which is not available on Cody.
Problem Recent Solvers340
Suggested Problems
-
19574 Solvers
-
Check if number exists in vector
8462 Solvers
-
1237 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
825 Solvers
-
366 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!