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

1 回表示 (過去 30 日間)
Timothy Le
Timothy Le 2019 年 12 月 18 日
回答済み: Pravin Jagtap 2019 年 12 月 23 日
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

回答 (1 件)

Pravin Jagtap
Pravin Jagtap 2019 年 12 月 23 日
Hello Timothy,
Please refer to following documentation which may help you in writing the function:
~Pravin

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by