ans = 
simplify() with dirac and All = true Doesn't Work?
Show older comments
Why does the second call to simpify cause an error? Is that a bug?
syms x real
simplify(dirac(x)) % works
simplify(dirac(x),'All',true) % error
2 Comments
Walter Roberson
on 10 Dec 2023
I replicate the problem.
You might be amused to examine
regexprep(char(feval(symengine, 'expose', 'simplify')), '\\n', '\n')
but the result is a bit long, and it is not immediately obvious to me where the problem is.
Paul
on 12 Dec 2023
Accepted Answer
More Answers (0)
Categories
Find more on Assumptions 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!