<div>Dear Sir,</div><div> The usage of function spectopo() is :</div><div> >> spectopo(data, frames, srate);</div> >>
[spectra,freqs,speccomp,contrib,specstd] = ...<br>
spectopo(data, frames, srate, 'key1','val1', 'key2','val2' ...);<br><div>And data = If 2-D (nchans,time_points); % may be a continuous single epoch,</div>
else a set of concatenated data epochs, else a 3-D set of data
<br> epochs (nchans,frames,epochs)<br> frames = frames
per epoch {default|0 -> data length}<br> srate = sampling rate per
channel (Hz)<br><br><div>And now I have a epoch from Pz. The name of the variable is 'a' . The fs of my experiment is 500 per second. The size of variable 'a' is 1*600, which means the total time of a epoch is 1200ms. </div><div>Now I want to plot the mean log spectrum of this epoch. So I write spectopo(a, 600, 500) in the command line.</div><div>Am I right? I also want to know the algorithm of spectopo(). Is it pwelch ?</div><div><br></div><div>Yours,</div><div> Hui-bin Jia</div><div><br></div><br>