Home > UnioviSOM-Oficial > localcorrelation.m

localcorrelation

PURPOSE ^

LOCALCORRELATION Computes local correlation matrices for each som unit

SYNOPSIS ^

function [Rj,Cj,Rmat,names] = localcorrelation(p,smap,sigma)

DESCRIPTION ^

 LOCALCORRELATION Computes local correlation matrices for each som unit

 CALLS
  [Rj,Cj,Rmat,names] = localcorrelation(p,smap,sigma)

 INPUTS
 p:     data matrix (R x N)
 smap:  UnioviSOM SOM struct
 sigma: Width factor in local neighborhood

 OUTPUTS
 Rj:      n-array of size (R x R x 10000) one local correlation matrix per SOM unit
 Cj:      n-array of size (R x R x 10000) one local covariance  matrix per SOM unit
 Rmat:    Matrix of size (R^2 x 10000) one column per SOM unit
 names:   List with R^2 labels corresponding to each couple of variables

 Example of usage:
       [Rj,Cj,Rmat,names] = localcorrelation(pn,smap,0.8)
       planes(pos,Rmat,names);

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 21-Apr-2017 11:56:21 by m2html © 2005