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: Rik
Subject: [Octave-bug-tracker] [bug #50854] zeros: like keyword
Date: Sun, 23 Apr 2017 15:14:12 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Follow-up Comment #3, bug #50854 (project octave):

I see.  Yes, I suppose it would be interesting to have a function that copies
all attributes.  Does Matlab, for example, also copy the global attribute?


global gvar;
gvar = complex (single (1), single (0))
whos ('gvar')
z = zeros (1, 'like', gvar)




    _______________________________________________________

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]