clear;

x1 = rand(1000,3);

x2 = randn(1000);

subplot(221);

hist(x1,20);

subplot(222);

hist(x2,20);


hist函数 进行 数据 分布 统计