function with unspecified unknown variable?

조회 수: 5 (최근 30일)
Samir
Samir 2019년 1월 30일
댓글: Samir 2019년 1월 30일
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

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

답변 (1개)

madhan ravi
madhan ravi 2019년 1월 30일

카테고리

Help CenterFile Exchange에서 Symbolic Math Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by