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: Rik
Subject: [Octave-bug-tracker] [bug #47510] arrayfun errors on indexing diagonal matrix
Date: Thu, 24 Mar 2016 04:05:26 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

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

I think my original suggestion is correct, at least it works for me without
sub2ind.

>From the specification, only one column in each row has a 1 in it.  Therefore
I created indices (i,j) where i runs over the rows (1:N) and the j index is
provided by the vector Y.

    _______________________________________________________

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]