求一小程序中的一小句解释:。
Afficher commentaires plus anciens
clear all;
%设置超几何分布的参数
M=1000;
K=50;
n=20;
% 产生len个随机数
len=5;
y1=hygernd(M,K,n,[1 len]);
%产生P*Q的矩阵
P=3;
Q=4;
y2=hygernd(M,K,n,P,Q)
%显示超几何分布的柱状图
M=1000;
y3=hygernd(M,K,n,[1,M]);
figure(1);
t=0:1:max(y3);
hist(y3,t);
axis([0 max(y3) 0 500]);
xlabel('取值');
ylabel('计数值') 望大虾解释下 在好多程序中 我都看到 figure(1) 或 figure 不知这句什么意思???? 在网上搜了好久 一直没有答 案!!!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur 探索与可视化 dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!