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

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

[Octave-bug-tracker] [bug #36066] number/array fails


From: Kris Thielemans
Subject: [Octave-bug-tracker] [bug #36066] number/array fails
Date: Mon, 02 Apr 2012 13:53:41 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20100101 Firefox/11.0

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

oh well. I find the following in matlab 2011b

>> 1/ones([3 2])
Error using  / 
Matrix dimensions must agree.
 
>> 1/ones([3 2 2])

ans(:,:,1) =

     1     1
     1     1
     1     1


ans(:,:,2) =

     1     1
     1     1
     1     1

That is, you need an nd array... I'm 100% sure that this has worked in matlab
since 2006a.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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