필터 지우기
필터 지우기

How to find the smoothing parameter used by csaps

조회 수: 5 (최근 30일)
Salma fathi
Salma fathi 2023년 7월 17일
답변: Sulaymon Eshkabilov 2023년 7월 17일
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?

답변 (1개)

Sulaymon Eshkabilov
Sulaymon Eshkabilov 2023년 7월 17일
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

카테고리

Help CenterFile Exchange에서 Smoothing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by