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 ExchangeSimulink についてさらに検索

質問済み:

2012 年 9 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by