


Calculates PLV maps.
This function calculates phase locking value (PLV) maps by using Gabor
wavelets to estimate the synchronization between two electrode sites in
specific frequency bands.
Usage:
r = calcPLV(s, h, startend, f, trls, class, rmartif, alpha);
Input parameters:
s ... Input signal (as obtained by sload), must have exactly two
channels (columns)
h ... Header structure (as obtained by sload)
startend ... Start and end point within trial (s)
f ... Frequency range (Hz)
Optional input parameters:
trls ... Trials
class ... Class
rmartif ... Remove artifacts
alpha ... Significance level
Output parameter:
r ... Structure containing the results