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

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

[Octave-bug-tracker] [bug #33542] corr only works on 2-D arrays


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #33542] corr only works on 2-D arrays
Date: Wed, 10 Feb 2016 03:48:56 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Update of bug #33542 (project octave):

              Item Group:    Matlab Compatibility => Feature Request        

    _______________________________________________________

Follow-up Comment #8:

Rik, thanks for checking.  Matlab now also fails on matrices greater than two
dimensions.  (I mistakenly said "more than three" last time.)


>> corr (rand(2,2,3), rand(2,2,3)) 
Error using  ' 
Transpose on ND array is not defined. Use PERMUTE instead.

Error in corr>corrPearson (line 300)
        coef = xc' * yc; % 1/(n-1) doesn't matter, renormalizing anyway

Error in corr (line 210)
        [coef,pval] = corrFun(rows,tail,x,y);
>>
>> version

ans =

8.2.0.701 (R2013b)


This is no longer a compatibility issue.  I'll mark it as a feature request,
but think it should be closed -- Matlab moved away from providing that
feature.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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