How to divide anonymous functions

I have two anonymous functions and need to divide them for the Newton-Raphson method without using the "divder" function handle. Entering f/df displays an error
f = @x x^3
df = @x 3*(x^2)

 Accepted Answer

John D'Errico
John D'Errico on 1 Oct 2018

But what does this do?

@(x) f(x)./df(x)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!