moransI correlation of matrix gives output value greater than one

1 vue (au cours des 30 derniers jours)
Amit
Amit le 18 Fév 2012
Modifié(e) : Cedric le 15 Oct 2013
I am trying to calculate the moransI correlation of matrix, as W=true(3); mcor=moransI(matrix,W);
I am getting a matrix as output, I need one value, so I take the mean as mean(mcor(:));
Value is greater than one , while it must be in the range of -1 to 1, as a definition of correlation.
How to get the correct value, suggest me.

Réponses (1)

Wayne King
Wayne King le 18 Fév 2012
Perhaps you would be better to contact the author:
Since moransl.m is not a MathWorks' function or method.
  1 commentaire
Amit
Amit le 18 Fév 2012
yeah, I already contacted him , waiting for reply
Thanks

Connectez-vous pour commenter.

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by