MATLAB can't resolve equation?
1 次查看(过去 30 天)
显示 更早的评论
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
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
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)
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!