How can I adjust and extract the distribution function parameters in fitdist

5 Ansichten (letzte 30 Tage)
I am using histfit to fit an exponential function to a histogram of values that I have. To do this, histfit uses fitdist, but the default exponential function it uses i believe is of the form , where the only parameter I can retrieve from the fit is Mu. For my data, I basically need the decay constant which would be 1/mu but there is also a background vertical and horizontal offset, how could I add these parameters into the fit to give a more accurate result? Also is there a way to store the parameters as separate variables for later use?
  2 Kommentare
dpb
dpb am 18 Jul. 2019
You would have to fit a custom model to incorporate the other terms.
You can retrieve the coefficients as well as other info from a fit object, yes.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by