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.
315 Solvers
Convert from Base 10 to base 5
205 Solvers
Determine the number of odd integers in a vector
447 Solvers
07 - Common functions and indexing 3
331 Solvers
181 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!