Description: fftcode_scope computes and displays spectrum of a signal stored in a Structure with Time
format (Format used to save signals in Simulink Scope block and in To Workspace block).
The signal must be sampled at fixed step.
PSBFFT_SCOPE performs Fourier analysis of the NB_CYCLES last cycles of signal.
The analyzed signal and a bar graph of the magnitudes of harmonic components are displayed .
Harmonic magnitudes are displayed in percent of the fundamental component defined by FREQ_FUND
and the magnitude of the fundamental value is written on the spectrum graph.
For accurate results, use a sampling time giving an integer number of samples per period.
To Search:
File list (Check if you may need any files):
fftcode_scope_THD.m
ceemdan_v2014.m