<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>
<div>Hi everybody,<br>
<br>
</div>
I'm trying to compute coherence analyses following the coherence tutorial at <a href="http://www.fieldtriptoolbox.org/tutorial/coherence">
http://www.fieldtriptoolbox.org/tutorial/coherence</a>.<br>
</div>
Since a couple of days, I have this error message in computing ft_freqanalysis:<br>
<br>
<i>Error using load<br>
Unable to read file precompute_dpss: No such file or directory.<br>
<br>
Error in dpss (line 9)<br>
  load precompute_dpss<br>
<br>
Error in ft_specest_mtmfft>double_dpss (line 335)<br>
tap = dpss(double(a), double(b), varargin{:});<br>
<br>
Error in ft_specest_mtmfft (line 151)<br>
        tap =<br>
        double_dpss(ndatsample,ndatsample*(tapsmofrq./fsample))';<br>
<br>
Error in ft_freqanalysis (line 494)<br>
      [spectrum,ntaper,foi] = ft_specest_mtmfft(dat, time, 'taper',<br>
      cfg.taper, options{:}, 'feedback', fbopt);</i><br>
<br>
</div>
Is that a bug?<br>
<br>
<br>
</div>
Here is the code I'm using:<br>
cfg            = [];<br>
cfg.output     = 'powandcsd';<br>
cfg.method     = 'mtmfft';<br>
cfg.foilim     = [5 40];<br>
cfg.tapsmofrq  = 5;<br>
cfg.keeptrials = 'yes';<br>
<br>
freq           = ft_freqanalysis(cfg, eeg);<br>
<br>
<br>
</div>
Thank you in advance,<br>
</div>
Federica<br>
</div>
</body>
</html>