fitting data to gaussian given centroid
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mohammed Alaidaroos
el 2 de Jul. de 2019
Comentada: Mohammed Alaidaroos
el 21 de Jul. de 2019
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 comentarios
Respuestas (1)
Abhisek Pradhan
el 17 de Jul. de 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,'.');
Ver también
Categorías
Más información sobre Linear and Nonlinear Regression en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!