solving simple multy variable expression

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])

 Respuesta aceptada

Walter Roberson
Walter Roberson el 2 de Mzo. de 2020

0 votos

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 comentarios

fima v
fima v el 2 de Mzo. de 2020
is there some other options in matlab to get a more veriety of results.
because i am looking to solve more hard core equations where we cant have a direct llink between one parameter to the other.
Walter Roberson
Walter Roberson el 2 de Mzo. de 2020
vpasolve with different random initialization.
fima v
fima v el 2 de Mzo. de 2020
Thanks i will try it.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Programming en Centro de ayuda y File Exchange.

Preguntada:

el 1 de Mzo. de 2020

Comentada:

el 2 de Mzo. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by