lsf

Version 1.0.0.0 (4.04 KB) by M MA
Harmonic analysis of time series using Least Squares Fit.
4K Downloads
Updated 12 Oct 2005

View License

Returns amplitudes (C) and phases (pha) of the harmonic components of series,

i*cos(2*pi*t/Ti-phai).

For imaginary series, the amplitudes and phases of the real and imaginary part is converted in ellipse parameters semi-major and minor axis, inclination and phase angle).

In the screenshot is shown two outputs, for real and imaginary series (see the examples on the file).

The output of this function has the same form of T_TIDE output so it can be used by other T_TIDE utilities.

Cite As

M MA (2024). lsf (https://www.mathworks.com/matlabcentral/fileexchange/8707-lsf), 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