摘要: 第八章 利用原始数据复现图8.3 illinois60=importdata('illinois60.txt');%载入伊利诺伊州1960年降雨量数据 illinois61=importdata('illinois61.txt');%载入伊利诺伊州1961年降雨量数据 illinois62=impo 阅读全文
posted @ 2021-09-26 20:16 linear345 阅读(247) 评论(0) 推荐(0)
摘要: 习题7.7 15, a, %医院总数为393所以设N=393 %以n为变量去作图p和n的关系式 %其中s为总体的方差经计算为589.7 %s1的即样本均值的方差的,根据书中p149页公式计算得到 %公式:s1=(s*sqrt(N-n))./sqrt(n*(N-1)) %其中./是为了保证n向量的按位 阅读全文
posted @ 2021-09-26 20:11 linear345 阅读(509) 评论(0) 推荐(0)
摘要: 5章-习题5.4 13 Matlab: m=60 n=1000 r=binornd(1,0.5,m,n)-0.5 z=sum(r)*100 figure histfit(z) 19. a. N=100: n=100 x=rand(n,1) f=cos(2*pi*x) I=sum(f)/n 结果: I 阅读全文
posted @ 2021-09-26 19:58 linear345 阅读(379) 评论(0) 推荐(0)