MATLAB can't resolve equation?
2 views (last 30 days)
Show older comments
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 Comment
John D'Errico
on 14 Mar 2016
Edited: John D'Errico
on 14 Mar 2016
It IS solved properly using solve. As long as you use solve properly.
Answers (1)
Star Strider
on 14 Mar 2016
This works for me (in R2016a):
syms a b x
x = solve(x == (a * (b + x)) / b)
x =
-(a*b)/(a - b)
0 Comments
See Also
Categories
Find more on Calculus in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!