首页 > 其他分享 >Matlab_normpdf

Matlab_normpdf

时间:2022-10-21 18:36:22浏览次数:56  
标签:xnq 15 normcdf 50 hist Matlab normpdf

>> x=normrnd(15,5,1000,1);
>> hist(x)
>> x2=rand(1000,1);
>> hist(x2,50)
>> hist(x,50)
>> y=normrnd(15,1,1000,1);
>> figure;hist(y,50)
>> x=0:30;
>> pdf=normpdf(x,15,5);

>> plot(x,pdf,'o')
>> normcdf(10,15,5)

ans =

0.1587

>> normcdf(20,15,5)-normcdf(8,15,5)

ans =

0.7606

load NormQuery

normplot(xnq)

[h,p]=lillietest(xnq)

norminv(1/4/length(xnq),mu,sigma)

  

  

标签:xnq,15,normcdf,50,hist,Matlab,normpdf
From: https://www.cnblogs.com/physical-oceanography/p/16814453.html

相关文章