function with unspecified unknown variable?

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 commentaires

Stephen23
Stephen23 le 30 Jan 2019
@Sami: are you looking for a numeric solution, or a symbolic solution?
Samir
Samir le 30 Jan 2019
Numerical

Connectez-vous pour commenter.

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Question posée :

le 30 Jan 2019

Commenté :

le 30 Jan 2019

Community Treasure Hunt

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

Start Hunting!

Translated by