I have a question about converting a continuous piecewise function to Heaviside function, which the function includes trunc() in its conditions.
(I found differentiating piecewise function gives me "undefined" at boundary)
When I do that operation (convert(piecewisefunc, Heaviside)) I get the error below.
"Error, (in piecewise/simprootsstep) cannot determine if this expression is true or false: 0 < 183.3333333*Pi"
It's pretty obvious that 183.33333333*Pi is larger than 0... but I don't get why this error happens.
Any helps are appriciated.