Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Can't Simplify logical expression

  • To: mathgroup at smc.vnet.net
  • Subject: [mg90790] Can't Simplify logical expression
  • From: realyigo at gmail.com
  • Date: Thu, 24 Jul 2008 04:53:32 -0400 (EDT)

Simplify[(a && (! b)) || (b && (! a))]

I get this:
a && ! b || b && ! a

But I want this:
Xor[a,b]


Any suggestions?


  • Prev by Date: several plots in manipulate
  • Next by Date: Re: Text search within a documentation page?
  • Previous by thread: Re: several plots in manipulate
  • Next by thread: Re: Can't Simplify logical expression