Info
此问题已关闭。 请重新打开它进行编辑或回答。
gaussian plot on my histogram
1 次查看(过去 30 天)
显示 更早的评论
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')
1 个评论
回答(1 个)
the cyclist
2020-9-8
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.
0 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!