fitting data to gaussian given centroid
4 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I only have data points for half of the curve and I want to fit this data points to a gaussian disterbution.
Can I fit this data points given that I know the centroid of the gaussian desterbution? is there a function where I can fit to a gaussian disterbution and specify the centroid?
0 Commenti
Risposte (1)
Abhisek Pradhan
il 17 Lug 2019
Hi,
Curve Fitting app can be used to fit curves and surfaces interactively. Even tough half data sets are not present Curve Fitting App will extrapolate the values.
Incase you data is sparse another approach will be to get the mean and variance using normfit and plot the curve using normpdf.
% for x dataset.
[mean,var] = normfit(x);
y = normpdf(x,mean,var);
plot(x,y,'.');
Vedere anche
Categorie
Scopri di più su Linear and Nonlinear Regression in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!