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

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

[Octave-bug-tracker] [bug #53450] or:Neither producing correct result no


From: Dildar Sk
Subject: [Octave-bug-tracker] [bug #53450] or:Neither producing correct result nor error, warning
Date: Sat, 24 Mar 2018 04:48:05 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53450>

                 Summary: or:Neither producing correct result nor
error,warning
                 Project: GNU Octave
            Submitted by: hodor123456
            Submitted on: Sat 24 Mar 2018 08:48:04 AM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Missed Error or Warning
                  Status: None
             Assigned to: None
         Originator Name: Dildar Sk
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In MATLAB,


>> or(1:10)
Error using  | 
Not enough input arguments.



Where in Octave,

>> or([1:10])
ans =

    1    2    3    4    5    6    7    8    9   10

>>


It should have produce error,because we are providing only
or(X) [But help says,or(X,Y)].
And here output is definitely wrong,It should have 1.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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