Propblem with integration with constants

How can I integrate somehow that integration constants appear?
For example MATLAB prints: int(x)=1/2*x^2
Since I need it to be; int(x)=1/2*x^2+C

댓글 수: 1

Star Strider
Star Strider 2012년 9월 21일
According to ‘Tips’ at the end of the documentation for ‘int’:
Results returned by int do not include integration constants.

댓글을 달려면 로그인하십시오.

답변 (1개)

Andrei Bobrov
Andrei Bobrov 2012년 9월 21일
편집: Andrei Bobrov 2012년 9월 21일

1 개 추천

out = int(sym('x')) + sym('C')

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

질문:

2012년 9월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by