Sinusoidal fit with fixed points
Show older comments
Is there a way to fit a sine curve to some data points but hold some of the fitted points at known locations? I'm trying to hold the extrema constant because they are known points but the rest of the fit can be anything.
2 Comments
Matt J
on 19 Jan 2015
The location of the extrema determine everything about a sine curve: frequency, amplitude, and phase. There's nothing left to fit.
Accepted Answer
More Answers (0)
Categories
Find more on Fit Postprocessing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!