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

MathGroup Archive 2011

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

Search the Archive

Only real data

  • To: mathgroup at
  • Subject: [mg122120] Only real data
  • From: Jörg Schröder <HB-Kowalczyk-Schroeders at>
  • Date: Sat, 15 Oct 2011 06:03:21 -0400 (EDT)
  • Delivered-to:


I have a problem to exclude complex solutions. I tried



Cases[data1, Except[_Complex]]


and got, what I expected. But when I have data like

{0,0,-I Sqrt[3],I Sqrt[3]}

The above doesn't work. Is this due to a different Head? Is there an easy
way to filter the non-complex data?

Thanks in advance




Dr. J=F6rg Schr=F6der

Bremen, Germany

  • Prev by Date: How to create this kind of list
  • Next by Date: Re: Plot function with two arguments
  • Previous by thread: Re: How to create this kind of list
  • Next by thread: Re: Only real data