Obtaining mean and std from cfit object

6 views (last 30 days)
Neil Sheridan
Neil Sheridan on 8 Nov 2019
Answered: Karan Nandankar on 30 Dec 2020
I have a large number of cfit smoothing spline objects. The object normalises the input data before applying the coefficients. How can I extract the normalisation constants (0.4671 and 0.3831 in the example).
cfit0 =
Smoothing spline:
cfit0(x) = piecewise polynomial computed from p
where x is normalized by mean 0.4671 and std 0.3831
Coefficients:
p = coefficient structure

Answers (1)

Karan Nandankar
Karan Nandankar on 30 Dec 2020
Hi Neil,
You can refer to this MATLAB Answer for your query.

Tags

Community Treasure Hunt

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

Start Hunting!