


LOGCORRCOEF compute vertical propagation of network
[ corrCoefList ] = logCorrCoef( network )
This function compute correlation coefficient of channel connectivity
matrixes between adjacent levels in input network.
Input:
network: a network structure containing ChConnectMat field
Output:
corrCoefList: correlation coefficient between adjacent levels

0001 function [ corrCoefList ] = logCorrCoef( network ) 0002 % LOGCORRCOEF compute vertical propagation of network 0003 % 0004 % [ corrCoefList ] = logCorrCoef( network ) 0005 % This function compute correlation coefficient of channel connectivity 0006 % matrixes between adjacent levels in input network. 0007 % 0008 % Input: 0009 % network: a network structure containing ChConnectMat field 0010 % 0011 % Output: 0012 % corrCoefList: correlation coefficient between adjacent levels 0013 0014 % --------- 0015 % Yen-Nan Lin, NTHU, 2010-2014, Matlab 2012a 0016 0017 nLevel = numel(network.ChConnectMat); 0018 for iLevel = 1:(nLevel - 1) 0019 thisLevelChMat = full(network.ChConnectMat{iLevel}); 0020 nextLevelChMat = full(network.ChConnectMat{iLevel + 1}); 0021 tmpCorrCoef = corrcoef(thisLevelChMat(:), nextLevelChMat(:)); 0022 corrCoefList(iLevel) = tmpCorrCoef(1, 2); 0023 end 0024 end