定義域を含めた逆関数の計算
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
syms x y a b c;
f(x) = a*x^2+b*x+c;
g = finverse(f)
以下のように逆関数のコードを教えてもらったのですが、逆関数は定義域によって式が変わってくると思うのですが、ここに定義域を追加して式を絞ることは可能でしょうか。もしできればコードを追加していただけるとありがたいです。(x>=-2b/a)みたいなです。
0 Commenti
Risposta accettata
Akiko
il 27 Set 2021
assume を使って仮定を設定することが可能です。
syms t
% 仮定がない場合
finverse(1 - exp(t^(2/3)), t)
% 仮定がある場合
assume(t<0 & t> -1)
finverse(1 - exp(t^(2/3)),t)
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!