채택된 답변

Star Strider
Star Strider 2019년 6월 20일

0 개 추천

It is the correct result, although it may not be the one you were anticipaiting.
Try this:
syms x
f(x) = sin(x)+2*cos(x)
intf = int(f)
simplifiedResult = simplify(intf, 'Steps', 100)
producing:
f(x) =
2*cos(x) + sin(x)
intf(x) =
-2*cos(x/2)*(cos(x/2) - 2*sin(x/2))
simplifiedResult(x) =
2*sin(x) - cos(x) - 1

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

질문:

2019년 6월 20일

답변:

2019년 6월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by