%% Example: Subsynchronous Oscillation in Power Systems
% Load the subsynchronous oscillation data of a Power System.

load OscillationData

% Compute the wavelet synchrosqueezed transform using the bump wavelet and 48 voices per octave. The four mode frequencies are at 15 Hz, 20 Hz, 25 Hz and 32 Hz. Notice that the energies of the modes at 15 Hz and 20 Hz decrease with time, whereas the energy of the modes at 25 Hz and 32 Hz increase gradually over time.

wsst(x,Fs,'bump','VoicesPerOctave',48)
ylim([10 50])

% This synthetic subsynchronous oscillation data was generated using the equation defined by Zhao et al in "Application of Synchrosqueezed Wavelet Transforms for Extraction of the Oscillatory Parameters of Subsynchronous Oscillation in Power Systems" [6].
% Copyright 2019 The MathWorks, Inc.