Borrar filtros
Borrar filtros

How to find the smoothing parameter used by csaps

5 visualizaciones (últimos 30 días)
Salma fathi
Salma fathi el 17 de Jul. de 2023
Respondida: Sulaymon Eshkabilov el 17 de Jul. de 2023
We have used the function csaps to fit some data using smoothing splines. We are intrested in knowing what is the smoothing parametrs that this function used to fit the data, how can we find that?

Respuestas (1)

Sulaymon Eshkabilov
Sulaymon Eshkabilov el 17 de Jul. de 2023
Actually, when you empoly the fcn csaps(), you should specify the smoothing parameter value (p), e.g.:
In case, you have not specified p smoothing param value, by using a syntax: pp = csaps(x,y)
"By default, csaps chooses a value for the smoothing parameter p based on the given data sites x." - see DOC

Categorías

Más información sobre Smoothing en Help Center y File Exchange.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by