Hi Mike,
Thanks for the advice- Indeed it will be helpful of I learn eeglab as well.
I found some tutorials on opening chanloc structure in matlab from a sample .loc file that eeglab provides, and was able to create a chanloc structure:
However the tfviewerx GUI still doesnt work with my data. Perhaps my EEG data matrix is not in the correct format (I have a 2D matrix and your code requires a 3D matrix [channels X frequency X time matrix] and I am not sure what the 3rd frequency dimension stands for)
I think my question is this:
% USAGE:
% tfviewerx(time,freq,DATA,chanlocs[,title]);
%
% time : vector of time points
% freq : vector of frequencies (e.g., of wavelet convolution)
% DATA : channels X frequency X time matrix
% chanlocs : eeglab chanlocs structure
% title : (optional) string title for figure
All these variables are loaded into matlab, right? from which file format should I load them to matlab? (I see that eeglab has a .set format (+.loc file for channel locations) but i'm not sure how to access its data+variables from matlab, my gtec system can create a hdf5 or text firmat, etc)
Or in other words: I have some eeglab sample data. How can I make the tfviewerx access it?
thanks!
Aner