function with unspecified unknown variable?

1 visualización (últimos 30 días)
Samir
Samir el 30 de En. de 2019
Comentada: Samir el 30 de En. de 2019
I have an equation as below
B=sqrt( (E^2) * ( a / b ) );
it solves for B if rest are known. This is part of a function.
Now if I wan to find E for given B I have to rearrange the equation, is there an easy and smart way without hardcoding each possibility in a matlab function.
So i wan it to evaluate for any of the unknown given the rest of them.
  2 comentarios
Stephen23
Stephen23 el 30 de En. de 2019
@Sami: are you looking for a numeric solution, or a symbolic solution?
Samir
Samir el 30 de En. de 2019
Numerical

Iniciar sesión para comentar.

Respuestas (1)

madhan ravi
madhan ravi el 30 de En. de 2019

Categorías

Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by