<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi All,</div><div><br></div><div>1. Is there any way to get uniformly distributed time values when running wavelet decomposition using timefreq. Here's my setup:</div><div><br></div><div>g.tlimits = [-500 3500];<br>g.timesout = [1500];<br>g.freqs = [13:1:30];<br>g.cycles = linspace(4,8,length(g.freqs)) ; <br></div><div>g.padratio = 2;<br></div><div><br></div><div>Using user-defined cycle for each frequency<br>Generating 1500 time points (-328.9 to 3326.9 ms)<br>Finding closest points for time variable<br>Time values for time/freq decomposition is not perfectly uniformly distributed<br>The window size used is 171 samples (342 ms) wide.<br>Estimating 18 linear-spaced frequencies from 13.0 Hz to 30.0 Hz.</div><div><br></div><div>With the above, I am getting time values that are sometimes 2 ms apart, sometimes 4 ms apart.<br></div><div><br></div><div>2. Is there any quick way of excluding epochs based on event markers? For example, I want to extract epochs that have the marker 'S1' but not if the epochs also contain the marker 'S2'?</div><div><br></div><div>Thank you in advance!</div><div><br></div><div>Regards,<br></div><div>Maria<br></div></div></div></div></div></div>