MATLAB can't resolve equation?

1 次查看(过去 30 天)
Eneru Y
Eneru Y 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 CenterFile Exchange 中查找有关 Calculus 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by