Using solve to find intersection points
15 ビュー (過去 30 日間)
古いコメントを表示
Given two functions, f(x) = exp(-x^2) and g(x) = 0.8, how do I use Matlab's solve function to find all intersection points of f(x) and g(x)?
0 件のコメント
採用された回答
Star Strider
2021 年 9 月 22 日
It’s as simple as it looks —
syms x
f(x) = exp(-x^2)
g(x) = sym(0.8)
xi = solve(f == g)
xi_vpa = vpa(xi)
.
2 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!