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
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
2012-9-21
编辑:Andrei Bobrov
2012-9-21
out = int(sym('x')) + sym('C')
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!