필터 지우기
필터 지우기

Cant simplify an algebraic equation

조회 수: 1 (최근 30일)
Fernando Pérez Lara
Fernando Pérez Lara 2018년 10월 24일
답변: Star Strider 2018년 10월 24일
Hello,
I can't simplify this equation:
g(x) = (A*(x + 1)^3 + C*(x + 1)^3 + B*(x - 1)*(x + 1)^2)/((x - 1)*(x + 1)^3)
I tried to use
simplify(g(x))
But It doesn't work.

채택된 답변

Star Strider
Star Strider 2018년 10월 24일
It seems to slimplify nicely for me:
syms A B C x
g(x) = (A*(x + 1)^3 + C*(x + 1)^3 + B*(x - 1)*(x + 1)^2)/((x - 1)*(x + 1)^3);
g = simplify(g, 'Steps', 20)
g(x) =
A/(x - 1) + B/(x + 1) + C/(x - 1)
Do you want something different?

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Number Theory에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by