フィルターのクリア

Finding the intersection of a function with its derivative

2 ビュー (過去 30 日間)
Sebastian Ciuban
Sebastian Ciuban 2013 年 12 月 15 日
コメント済み: Sebastian Ciuban 2013 年 12 月 15 日
I have this code:
x=sym('x'); f=2*sin(log(x)).^2; g=diff(f); h1=ezplot(f); set(h1,'Color','red') hold on ezplot(g) grid on
Now, how I can find the value of the points where they intersect?

採用された回答

Wayne King
Wayne King 2013 年 12 月 15 日
編集済み: Wayne King 2013 年 12 月 15 日
How about:
syms x
f=2*sin(log(x)).^2;
g=diff(f);
solve(f-g) % or solve(f==g)
  3 件のコメント
Sebastian Ciuban
Sebastian Ciuban 2013 年 12 月 15 日
I have tried that but I wasn't sure it was correct :)
Sebastian Ciuban
Sebastian Ciuban 2013 年 12 月 15 日
That is the thing that I want to know :). The value of all points where those 2 curves intersect

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by