Press a curve toward data?

1 visualizzazione (ultimi 30 giorni)
David Pesetsky
David Pesetsky il 7 Mar 2018
Commentato: John D'Errico il 8 Mar 2018
Is it possible to "smooth" scattered 2d data by draping a curve loosely over it...or adjusting the "tightness" of the curve to the data? I recall something for 3D surfaces like ksurf and trisurf?
  1 Commento
John D'Errico
John D'Errico il 8 Mar 2018
This is one of those very vague questions that is almost impossible to answer, certainly to solve. Is it possible? Well, anything is possible, as long as it does not involve the Cubs winning the World Series. Oh, wait. They won! ;-)
You need to define what you mean by "draping a curve". You might be thinking of something vaguely like a smoothing spline, or perhaps a least squares tension spline. Smoothing splines are pretty common, easy to find. Tension splines are a bit more rare, being somewhat nonlinear things. Smoothing splines are easier to work with and estimate, so are more common.
But if draping a curve means something completely different to you, well, it all depends on what you are thinking of.

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by