function with unspecified unknown variable?

6 ビュー (過去 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 Center および File ExchangeSymbolic Math Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by