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

3 visualizzazioni (ultimi 30 giorni)
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 Commento
LauraLee Austin
LauraLee Austin il 10 Ott 2016
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.

Accedi per commentare.

Risposte (1)

Ern V
Ern V il 10 Ott 2016
Modificato: Ern V il 10 Ott 2016
Something like this:

Community Treasure Hunt

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

Start Hunting!

Translated by