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

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

[Octave-bug-tracker] [bug #47510] arrayfun errors on indexing diagonal m


From: Amro
Subject: [Octave-bug-tracker] [bug #47510] arrayfun errors on indexing diagonal matrix
Date: Thu, 24 Mar 2016 02:50:24 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0

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

@Rik: I think you meant:


x = zeros(N, 10);
x(sub2ind(size(x), 1:N, Y)) = 1;


not that it matters here :)


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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