[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #33523] Matlab compatibility issue with averag
From: |
Arnaud Delorme |
Subject: |
[Octave-bug-tracker] [bug #33523] Matlab compatibility issue with averaging the 3rd dim of a 2-D array |
Date: |
Wed, 27 Jul 2011 22:54:25 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1) Gecko/20100101 Firefox/5.0.1 |
Follow-up Comment #3, bug #33523 (project octave):
Under Octave
x = mean (magic(3), 3)
error: mean: DIM must be an integer and a valid dimension
error: called from:
error:
/Volumes/donnees/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/statistics/base/mean.m
at line 111, column 5
>> y = mean (eye(2), 4)
error: mean: DIM must be an integer and a valid dimension
error: called from:
error:
/Volumes/donnees/Applications/Octave.app/Contents/Resources/share/octave/3.4.0/m/statistics/base/mean.m
at line 111, column 5
Under Matlab
x = mean (magic(3), 3)
x =
8 1 6
3 5 7
4 9 2
x = mean (magic(3), 4)
x =
8 1 6
3 5 7
4 9 2
y = mean (eye(2), 4)
y =
1 0
0 1
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33523>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/