Boolean simplify fails for a simple expression
이전 댓글 표시
Fails:
>> syms x y z
>> simplify(x & xor(y, z))
Error using mupadengine/feval (line 163)
The first argument must be a condition.
Error in sym/simplify (line 58)
rSym = feval(symengine, 'simplify', s,...
However, when xor is in root:
>> simplify(xor(x & y, z))
ans =
x & y xor z
댓글 수: 3
Nicolas Schmit
2018년 5월 7일
I did not get a error when running your code in R2018a. Which version of MATLAB are you using?
John Smith
2018년 5월 7일
Walter Roberson
2018년 5월 7일
Unfortunately there does not appear to be any simple patch in that release.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Utilities for the Solver에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!