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.
Create a vector whose elements depend on the previous element
405 Solvers
282 Solvers
Change the sign of even index entries of the reversed vector
310 Solvers
Reverse the elements of an array
704 Solvers
470 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!