Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

gaussian plot on my histogram

1 Ansicht (letzte 30 Tage)
Fatemeh Shomal Zadeh
Fatemeh Shomal Zadeh am 8 Sep. 2020
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
Hi everyone,
I have the distogram of my data which is the 368x315x3 uint8 array.
I want to plot the gaussian with the standard deviation on it.
Can anyone help me with that please?
figure('Name','A3{1}.BMd_Img_o_part1')
edges= linspace(0,255,21);
histogram(image1, 'BinEdges',edges,'normalization','pdf')

Antworten (1)

the cyclist
the cyclist am 8 Sep. 2020
If you have the Statistics and Machine Learning Toolbox, you can use the histfit function to do the histogram and gaussian fit all in one command.

Diese Frage ist geschlossen.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by