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 comentario

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

Iniciar sesión para comentar.

Respuestas (1)

Andrei Bobrov
Andrei Bobrov el 21 de Sept. de 2012
Editada: Andrei Bobrov el 21 de Sept. de 2012
out = int(sym('x')) + sym('C')

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Preguntada:

el 21 de Sept. de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by