MATLAB Answers

Tony Tse
0

cfit extract normalization mean and std

Asked by Tony Tse
on 31 Jan 2018
Latest activity Answered by Maeri
on 6 May 2019
Hello,
I am fitting a rational function to some data, in my case x varies over many orders of magnitude, so I used to 'Normalize' option when fitting. There is a normalization mean and std to the x, how do I extract that? There isn't a public method to cfit for this as far as I know.
I have attached the fit function in question. The values I am interest in are:
where x is normalized by mean 6.21e+05 and std 1.65e+06

  0 Comments

Sign in to comment.

Tags

1 Answer

Answer by Maeri
on 6 May 2019
 Accepted Answer

In the cfit source code, the mean and std are private variables, and there exists no access function as for coeffvalues.
Thus I don't think there is a way to access mean and std. A work around is just taking mean and std of your xdata input.

  0 Comments

Sign in to comment.