fsa

Version 1.0.0.0 (2.97 KB) by M MA
Fourier Spectral Analysis
5K Downloads
Updated 13 Oct 2005

View License

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 (2024). fsa (https://www.mathworks.com/matlabcentral/fileexchange/8713-fsa), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0