eeg_load_scan_coh_asc

eeg_load_scan_coh_asc - function coh =...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: function coh = eeg_load_scan_coh_asc(filename) % eeg_load_scan_coh_asc - Read a Scan coherence ascii file (*.dat) % % Usage: coh = eeg_load_scan_coh_asc(filename) % % This script extracts all the coherence values from a Scan % coherence ascii file. % % An example of the coh struct returned: % % subject: '' % date: '19-Jul-2002' % time: '14:01:47' % channels: 64 % rate: 500 % type: 'PairedChannels' % points: 82 % domain: 'Frequency' % pairs: 2016 % freqbins: [1x82 double] % pairnames: {2016x2 cell} % data: [2016x82 double] % phase: [2016x82 double] % % % $Revision: 1.1 $ $Date: 2009/04/28 22:13:52 $ % Licence: GNU GPL, no express or implied warranties % History: 11/2002, Darren.Weber_at_radiology.ucsf.edu % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% [path,name,ext] = fileparts(filename); file = fullfile(path,[name ext]); [fid,msg] = fopen(file,'r'); if ~isempty(msg), error(msg); end tic fprintf('\nEEG_LOAD_SCAN_COH_ASC...\n'); fprintf('...reading data file:\n\t%s\n',file);fprintf('....
View Full Document

This note was uploaded on 10/06/2010 for the course ENG 42325 taught by Professor Lagerstrom during the Spring '10 term at UC Davis.

Page1 / 3

eeg_load_scan_coh_asc - function coh =...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online