필터 지우기
필터 지우기

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 CenterFile Exchange에서 Partial Differential Equation Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by