Bug or misuse in MUPAD with piecewise + dirac in R2015a?

1 view (last 30 days)
Hello, I am trying to do an integral of a piecewise function which references as well to a Dirac-delta:
See the following code:
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,

Answers (0)

Community Treasure Hunt

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

Start Hunting!