File Exchange

image thumbnail

sinefit

version 1.0.2 (1.26 MB) by Chad Greene
Fit an annual sinusoid to data using a least-squares approximation.

26 Downloads

Updated 13 Jun 2019

View License

Three functions here (check the Examples tab for formatted examples):

sinefit: estimates the amplitude, phase, linear trend of a sinusoid, given some data points in time.

sinefit_bootstrap: performs a bootstrap analysis to estimate uncertainty in the sinusoid fit.

sineval: evaluates a sinusoid with a given amplitude, phase, trend.

Cite As

Chad Greene (2019). sinefit (https://www.mathworks.com/matlabcentral/fileexchange/68273-sinefit), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

Updates

1.0.2

Updated live scripts

1.0.1

Added live scripts

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

Inspired by: Daily Antarctic sea ice concentration, Arctic Sea Ice

Discover Live Editor

Create scripts with code, output, and formatted text in a single executable document.


Learn About Live Editor