How to create Gaussian curve to an existing Histogram ?

Hello,
How can I create the Gaussian curve to an existing Histogram in matlab? Which commands should I use?

 Accepted Answer

histfit
See here, any issue let me know here?

4 Comments

well,
I would like to "draw" to an existing Histogram that i have created the Gaussian curve..
my code is:
filename1 ='Test.csv'
[d1,tex]= xlsread(filename1);
x=d1(:,1);
y=length(x);
H=histogram(x,10)
is an archive which include my data

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!