examp.m

来自「这是在网上下的一个东东」· M 代码 · 共 34 行

M
34
字号
%% Reinitialize everything.%clearrand('seed',0);randn('seed',0);%% Generate the data set.%data=randt(5,100,1);%% Plot the histogram.%figure(1);clf;hist(data)bookfonts;%print -deps abfhist.eps%% do the qqplot.%figure(2);clf;bookfonts;qqplot(data);%print -deps abfnplot.eps%% Compute the mean and standard deviation of the data.%xbar=mean(data)s=std(data)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?