Gaussian fit to hist3()
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello, I am trying to obtain the mu and sigma parameters from a 3D histogram colormap.
My code is the following:
biny = ceil(Par.cryst_lung_y/Par.pixel_image);
binx = ceil(Par.cryst_lung_x/Par.pixel_image);
% biny and binx are two integers
y_image = [output.y_rec 0 Par.cryst_lung_y];
x_image = [output.x_rec 0 Par.cryst_lung_x];
%vectors representing the x and y positions
[Counts,Centers]=hist3([y_image' x_image'],[biny binx]);
I would like to know if it is possible to obtain the sigma parameter in particular, considering the counts and centers. Any tips would be greatly appreciated, thank you in advance.
2 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Fit Postprocessing 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!