How to fit a mixture of uniform and gaussian distributions
3 views (last 30 days)
Show older comments
Hi there, Does anyone know / have any tips about / how to fit a mixture of (1) a uniform distribution (1 height parameter) and a (2) Gaussian? I know how to fit a mixture Gaussian... but am flummoxed re how to go about fitting a mixture involving a uniform and an gaussian. Many thanks in advance for your help, Marie
0 Comments
Answers (2)
Salaheddin Hosseinzadeh
on 4 Jun 2015
Hi Maria,
What is a uniform distribution? something like a DC offset? Is it like a constant added to the Gaussian?
See if you have curve fitting toolbox
cftool
you can define a custom equation gauss + constant and get the parameters you want.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!