Home > bioelectromagnetism > eeg_correlations.m

eeg_correlations - Pearsons correlations This utility simply implements the CORRCOEF command for a voltage data matrix with columns of electrodes and rows of sample points USEAGE: [COR] = eeg_correlations(volt) The utility returns a full matrix of correlation coefficients formed from voltage data array X whose each row is a sample point, and each column is an electrode. See also corrcoef

0001 function [COR] = eeg_correlations(volt) 0002 0003 % eeg_correlations - Pearsons correlations 0004 % 0005 % This utility simply implements the CORRCOEF command for a voltage 0006 % data matrix with columns of electrodes and rows of sample points 0007 % 0008 % USEAGE: [COR] = eeg_correlations(volt) 0009 % 0010 % The utility returns a full matrix of correlation coefficients formed 0011 % from voltage data array X whose each row is a sample point, and each 0012 % column is an electrode. 0013 % 0014 % See also corrcoef 0015 % 0016 0017 % $Revision: 1.1 $ $Date: 2004/11/12 01:32:33 $ 0018 0019 % Licence: GNU GPL, no implied or express warranties 0020 % Created: 07/00, Darren.Weber_at_radiology.ucsf.edu 0021 % 0022 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0023 0024 COR = corrcoef(volt); 0025 0026 return

Generated on Mon 15-Aug-2005 15:36:19 by