Stdnorm meannorm part d figure pdf

Info icon This preview shows pages 9–12. Sign up to view the full content.

View Full Document Right Arrow Icon
std(norm) mean(norm) %part d figure; pdf = hdat/(length(norm)*Width); plot(Lower + Width/2:Width:Upper - Width/2, pdf(1:end - 1)) xlabel( 'Random varriable' ); ylabel( 'Probability' ); type makehist ans = 19.8941 ans = 0.1552 function hout = makehist(lwr, upr, spcng, data, xlbl, ylbl) edges = lwr:spcng:upr; hout = histc(data,edges); bar(edges, hout,'histc'); xlim([min(edges-spcng),max(edges+spcng)]); xlabel(xlbl); ylabel(ylbl);
Image of page 9

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 10
problem 7 dat=load( 'ran_n2.txt' ); %part a s=std(dat) %part b m=mean(dat) %part c v=var(dat) %part d md=median(dat) %part e dat2= mean(dat) + std(dat).*randn(length(dat),1); %alternative to part e dat2= 3 + 2.*randn(100,1); s = 1.9701 m =
Image of page 11

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
3.2272 v = 3.8812 md = 3.4902 Published with MATLAB® 7.10
Image of page 12
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern