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

Stephen23
Stephen23 2019년 1월 30일
@Sami: are you looking for a numeric solution, or a symbolic solution?
Samir
Samir 2019년 1월 30일
Numerical

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

질문:

2019년 1월 30일

댓글:

2019년 1월 30일

Community Treasure Hunt

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

Start Hunting!

Translated by