フィルターのクリア

solving simple multy variable expression

2 ビュー (過去 30 日間)
fima v
fima v 2020 年 3 月 1 日
コメント済み: fima v 2020 年 3 月 2 日
I have built a simple expression where we can see that its solution t-Vs=1
for some reason the only solution it gives me is t=1 Vs=0
but there could be much more solutions,how can i see more solution combinations?
Thanks.
syms L t Vs
Eq1 = 0 == (1-exp((1-t-Vs)/L));
t_sol = solve(Eq1, [t Vs])

採用された回答

Walter Roberson
Walter Roberson 2020 年 3 月 2 日
Ask to solve for one of the two variables, which will give an expression in terms of the other variable.
When you solve for more variables than you have equations, often it will say there is no solution. Sometimes it will use internal initial values that you have no control over.
  3 件のコメント
Walter Roberson
Walter Roberson 2020 年 3 月 2 日
vpasolve with different random initialization.
fima v
fima v 2020 年 3 月 2 日
Thanks i will try it.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePartial Differential Equation Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by