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

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

[Octave-bug-tracker] [bug #46473] bug in resize


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #46473] bug in resize
Date: Wed, 18 Nov 2015 17:15:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.4.0

Update of bug #46473 (project octave):

                  Status:                    None => Invalid                
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #2:

Even if it was not confusing the functions, the bug is invalid. That is the
intended result. See help text of resize 


x = [1:10];
dv = [5 2];
y = zeros (dv, class (x));
sz = min (dv, size (x));
for i = 1:length (sz)
  idx{i} = 1:sz(i);
endfor
y(idx{:}) = x(idx{:});


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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