10 2022 档案

摘要:>> 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; >> p 阅读全文
posted @ 2022-10-21 18:22 海边儿写代码的孩子 阅读(193) 评论(0) 推荐(0)
摘要:function y=myfun1(x) z=x+1; y=z*2; function y=myfun2(x) if x>10 y=99; elseif x>0 y=1; else y=-1; end function y=myfun3(x) switch x case 1 y=9; case 2 阅读全文
posted @ 2022-10-07 18:23 海边儿写代码的孩子 阅读(21) 评论(0) 推荐(0)