惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

大猫的无限游戏
大猫的无限游戏
D
DataBreaches.Net
M
MIT News - Artificial intelligence
量子位
N
Netflix TechBlog - Medium
The Cloudflare Blog
The GitHub Blog
The GitHub Blog
P
Proofpoint News Feed
人人都是产品经理
人人都是产品经理
B
Blog RSS Feed
B
Blog
博客园_首页
博客园 - Franky
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
Apple Machine Learning Research
Apple Machine Learning Research
MongoDB | Blog
MongoDB | Blog
云风的 BLOG
云风的 BLOG
爱范儿
爱范儿
H
Help Net Security
Y
Y Combinator Blog
Stack Overflow Blog
Stack Overflow Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell

博客园 - 遗忘海岸

简协运动模拟 电磁场中的运动轨迹模拟 圆周运动模拟 带阻力的平抛运动 C# 队列的一些并发模拟 devexpress gridview master,detail视图 focuseRowHandle 同步选中 C# Tcp Server端实现,使用TcpListener 深信服务超融合管理Api调用 GDI+画工作流图的一些总结 绘制贝塞而曲线 GDI+画直线带箭头 devexpress schedulerControl Gantt View 使用 逻辑回归损失函数求导 matplotlim柱状图 匀加速运动模拟python,(matplotlib) C# 实现排列 python 类鸟群Boids C#动态编译 Android 的一个通用列表单选AlertDialog封装
正太分布数据排序后分段数据的方差与标准差
遗忘海岸 · 2023-04-08 · via 博客园 - 遗忘海岸

clc
close
num=46000;
step=23000;
n=num/step;

arr=randn(num,1) * 8.239027791394347 + 70;

std(arr)
mean(arr)

arr_s=sort(arr);
s=zeros(step,n);
std_arr=zeros(step,1);
mean_arr=zeros(step,1);

for i=1:n
    a=(i-1)*step +1;
    b=i*step;
    s(:,i)=arr_s(a:b);
    std_arr(i)=std(s(:,i));
    mean_arr(i)=mean(s(:,i));
end
grid on
subplot(2,1,1)
plot(mean_arr)
subplot(2,1,2)
plot(std_arr)

View Code