Bug or misuse in MUPAD with piecewise + dirac in R2015a?
2 次查看(过去 30 天)
显示 更早的评论
Hello, I am trying to do an integral of a piecewise function which references as well to a Dirac-delta:
See the following code:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/160472/image.png)
The command: "q(x) := dist(x) + punt(x)" does not sum the delta-Dirac, and therefore the results in lines 4 and 5 give different results.
I am using MATLAB R2015a
Any comments?
Kind regards,
Diego
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!