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

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

[Octave-bug-tracker] [bug #62291] "zeros" with vector input is incompati


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #62291] "zeros" with vector input is incompatible with Matlab
Date: Mon, 11 Apr 2022 10:58:41 -0400 (EDT)

Update of bug #62291 (project octave):

                  Status:                    None => Confirmed              
                 Summary: The operation of "zeros" is not compatible with the
equivalent function in Matlab => "zeros" with vector input is incompatible
with Matlab

    _______________________________________________________

Follow-up Comment #1:

For comparison, in Matlab R2021a:

>> zeros(1,1:10)
Error using zeros
Size inputs must be scalar.


Also looks like an input error to me.

Octave should probably also error out for this kind of input imho.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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