fsa

Fourier Spectral Analysis

You are now following this Submission

Uses FFT and returns amplitudes and phases of the Fourier components.

Syntax:
S = FSA(X,INTERVAL,OUTPUT,OPT)

Inputs:
X Series
INTERVAL Data sampling interval (hour)
OUTPUT Print(fid or filename)/show results [ {1} 0 <filename> ]
OPT Permissions of fopen [ 'w' ]

Output:
S Structure with result: .f .T .amp .pha (frequency, period, amplitude and phase)

The screenshot shows the period vs amplitude for one series with two components with amplitudes 1, 2, phases 30, 80 and periods 12, 24

Cite As

M MA (2026). fsa (https://www.mathworks.com/matlabcentral/fileexchange/8713-fsa), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0