Boolean simplify fails for a simple expression
Afficher commentaires plus anciens
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 commentaires
Nicolas Schmit
le 7 Mai 2018
I did not get a error when running your code in R2018a. Which version of MATLAB are you using?
John Smith
le 7 Mai 2018
Walter Roberson
le 7 Mai 2018
Unfortunately there does not appear to be any simple patch in that release.
Réponses (0)
Catégories
En savoir plus sur Utilities for the Solver dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!