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

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

[Octave-bug-tracker] [bug #33301] rand() and orth() not fully MatLab com


From: anonymous
Subject: [Octave-bug-tracker] [bug #33301] rand() and orth() not fully MatLab compatible
Date: Tue, 02 Aug 2011 13:38:40 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0E)

Follow-up Comment #2, bug #33301 (project octave):

For rand() the behaviour is documented.
http://www.mathworks.com/help/techdoc/ref/rand.html: "The size inputs m, n, p,
... should be nonnegative integers. Negative integers are treated as 0."

For orth(), Matlab does not document what happens if the input is empty. If
you do not want to change it in octave, I would suggest to put in an explicit
error() statement to make it clearer for the user.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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