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

推荐订阅源

Martin Fowler
Martin Fowler
T
The Blog of Author Tim Ferriss
J
Java Code Geeks
M
MIT News - Artificial intelligence
F
Fortinet All Blogs
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
B
Blog
Microsoft Azure Blog
Microsoft Azure Blog
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
N
Netflix TechBlog - Medium
G
Google Developers Blog
L
LangChain Blog
腾讯CDC
大猫的无限游戏
大猫的无限游戏
U
Unit 42
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
小众软件
小众软件
The GitHub Blog
The GitHub Blog
博客园_首页
GbyAI
GbyAI

博客园 - 遗忘海岸

简协运动模拟 电磁场中的运动轨迹模拟 圆周运动模拟 带阻力的平抛运动 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