fitting data to gaussian given centroid
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Réponses (1)
Abhisek Pradhan
le 17 Juil 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,'.');
Voir également
Catégories
En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!