How do I connect data points with sine or cosine curves

10 views (last 30 days)
I have a surrogate time series graph. Data points are connected with straight lines, naturally. I would like to connect them with cosine or sine curves. I have a very complicated way to do. It is a total headache

Answers (1)

Star Strider
Star Strider on 4 Apr 2018
See: Curve fitting to a sinusoidal function (link) if you want to fit your data to a sinusoidal function.

Categories

Find more on Time Series in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!