How can i add a normal distribution to a an stem plot?

2 次查看(过去 30 天)
Hi, i have a relative frequency plot, using the stem command, crc is a 1x6061 matrix,
[n xout]=hist(crc,100,);
stem(xout,n/sum(n))
and i need something like this but with stem
  1 个评论
LauraLee Austin
LauraLee Austin 2016-10-10
How many stems do you want to see? 100? Depending on the crc data, that could create stems that are very small in relation to the histogram.

请先登录,再进行评论。

回答(1 个)

Ern V
Ern V 2016-10-10
编辑:Ern V 2016-10-10
Something like this:

标签

Community Treasure Hunt

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

Start Hunting!

Translated by