How can I extract an expression for a variable from an equation?

3 ビュー (過去 30 日間)
Mohamed Ibrahim
Mohamed Ibrahim 2017 年 3 月 10 日
回答済み: Karan Gill 2017 年 3 月 10 日
I'm trying to get an expression for 'y' from this equation: sin(z - x) * exp((x-y) / tanz) = sin(z - y) When I express this as an equation in MATLAB, it says "Too many output arguments."

回答 (1 件)

Karan Gill
Karan Gill 2017 年 3 月 10 日
Can you post your code? And, try using the "solve" function.
To declare the equation, use "==".
sym x y z
eqn = sin(z-x) * exp((x-y)/ tan(z)) == sin(z - y)

カテゴリ

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