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

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

[Octave-bug-tracker] [bug #50854] zeros: like keyword


From: Ceral Paquet
Subject: [Octave-bug-tracker] [bug #50854] zeros: like keyword
Date: Sat, 22 Apr 2017 12:34:38 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0

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

                 Summary: zeros: like keyword
                 Project: GNU Octave
            Submitted by: octavebugs
            Submitted on: Sat 22 Apr 2017 04:34:37 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: WTF, Matlab?!?
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.1
        Operating System: GNU/Linux

    _______________________________________________________

Details:

MATLAB introduced the 'like' keyword for zeros, ones, cast.


>> A = single(1+i);
>> B = zeros(1,'like',A);
>> whos('B')
  Name      Size            Bytes  Class     Attributes

  B         1x1                 8  single    complex   







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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