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 Kommentar

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

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Andrei Bobrov
Andrei Bobrov am 21 Sep. 2012
Bearbeitet: Andrei Bobrov am 21 Sep. 2012

1 Stimme

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

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 21 Sep. 2012

Community Treasure Hunt

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

Start Hunting!

Translated by