how to leave a variable on one side of the equation
古いコメントを表示
hello, and sorry for i don't know and couldn't find the exact term in english to specify what i'm looking for so i'm going to try to explain it in a verbal way. for example, if i have an equation as:
-3*a+2*b==10*sin(c)
(with a, b and c being independent sym variables) and want to find b as:
b==(10*sin(c)+3*a)/2
what function should i use?
採用された回答
その他の回答 (2 件)
Azzi Abdelmalek
2014 年 12 月 25 日
s='-3*a+2*b==10*sin(c)'
out=solve(s,'b')
カテゴリ
ヘルプ センター および File Exchange で Symbolic Math Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!