MATLAB can't resolve equation?

3 ビュー (過去 30 日間)
Eneru Y
Eneru Y 2016 年 3 月 14 日
編集済み: John D'Errico 2016 年 3 月 14 日
Hello guys, following equation:
x = (a * (b + x)) / b
It's not resolved by matlab with solve() function, but it's resolved correctly on wolframalpha.com website. Why? Thanks!
  1 件のコメント
John D'Errico
John D'Errico 2016 年 3 月 14 日
編集済み: John D'Errico 2016 年 3 月 14 日
It IS solved properly using solve. As long as you use solve properly.

サインインしてコメントする。

回答 (1 件)

Star Strider
Star Strider 2016 年 3 月 14 日
This works for me (in R2016a):
syms a b x
x = solve(x == (a * (b + x)) / b)
x =
-(a*b)/(a - b)

カテゴリ

Help Center および File ExchangeCalculus についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by