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

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

[Octave-bug-tracker] [bug #60275] Some details in documentation of if an


From: Rik
Subject: [Octave-bug-tracker] [bug #60275] Some details in documentation of if and while
Date: Wed, 24 Mar 2021 23:13:30 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36

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

It doesn't look to me like Matlab even supports complex arguments in if
statements.  This code produces an error in Matlab:


x = complex (0, 1);
if (x)
  disp ('true');
end


The error is "Complex values cannot be converted to logical".

Does this match what you see?  If so, the documentation for Matlab is out of
date.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?60275>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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