How to parametrize a function ?
2 ビュー (過去 30 日間)
古いコメントを表示
abdulsamed kaymakci
2022 年 12 月 8 日
コメント済み: abdulsamed kaymakci
2022 年 12 月 9 日
So i have function like y^(0.5) = x this function created by syms command and id like to replace x with t and find y in terms of t. then r =[x,y] disp(r)
0 件のコメント
採用された回答
John D'Errico
2022 年 12 月 8 日
syms x y
eq = sqrt(y) == x;
syms t real
ysol = solve(subs(eq,x,t),y,'returnconditions',true)
The constraint tells you that t must be positive. This is because the original equation was written as sqrt(y), which presumes the positive branch of the square root function.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Numbers and Precision についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!