I have a symbolic function, I want to know the points of discontinuity.

7 views (last 30 days)
For example the function is :
syms t
k=t*heaviside(5-t)+5*heaviside(t-5) ;

Accepted Answer

Walter Roberson
Walter Roberson on 2 Sep 2015
so,
syms t
k = t*heaviside(5-t)+5*heaviside(t-5);
disc = feval(symengine, 'discont', k, t);

More Answers (0)

Categories

Find more on Symbolic Math Toolbox 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!