matlab_multitaper.m 193 B

123456
  1. % MATLAB version '9.7.0.1190202 (R2019b)'
  2. load('../data/time_series.mat')
  3. nw = 4;
  4. fs = 1000;
  5. [pxx, f] = pmtm(time_series, nw, [], fs);
  6. save('../data/matlab_multitaper', 'pxx', 'f', 'fs', 'nw');