MATLAB can't resolve equation?

조회 수: 2 (최근 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 CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by