Write a function file finds real roots for any function f(x).

1 Ansicht (letzte 30 Tage)
Timothy Le
Timothy Le am 18 Dez. 2019
Beantwortet: Pravin Jagtap am 23 Dez. 2019
I need help writing:
Write a function file that finds all the real roots for any function f(x). Your function file should take as input the function f(x) as a symbolic expression and return all the real roots of f(x) = 0 as a vector. Assume the input function has at least one real root.
Thank You in advanced

Antworten (1)

Pravin Jagtap
Pravin Jagtap am 23 Dez. 2019
Hello Timothy,
Please refer to following documentation which may help you in writing the function:
~Pravin

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by