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

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 Comment

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.

Sign in to comment.

Answers (1)

Ern V
Ern V on 10 Oct 2016
Edited: Ern V on 10 Oct 2016
Something like this:

Tags

Asked:

on 10 Oct 2016

Commented:

on 10 Oct 2016

Community Treasure Hunt

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

Start Hunting!