octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #32053] matlab/Octave differences for complex


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #32053] matlab/Octave differences for complex
Date: Wed, 05 Jan 2011 08:10:17 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15)

Follow-up Comment #1, bug #32053 (project octave):

In your example, cc(1) is no longer complex in either Octave or Matlab.  Try
for example


isreal (cc)
isreal (cc(1))


and note that isreal tests whether the underlying data is stored as complex
or real, not whether individual elements have zero imaginary part.

I agree that it could be useful to modify the output of whos to display the
"Attributes" info.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?32053>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]