Propblem with integration with constants
Show older comments
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 Comment
Star Strider
on 21 Sep 2012
According to ‘Tips’ at the end of the documentation for ‘int’:
Results returned by int do not include integration constants.
Answers (1)
Andrei Bobrov
on 21 Sep 2012
Edited: Andrei Bobrov
on 21 Sep 2012
out = int(sym('x')) + sym('C')
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!