ans = 
simplify() with dirac and All = true Doesn't Work?
显示 更早的评论
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 个评论
Walter Roberson
2023-12-10
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
2023-12-12
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Assumptions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!