p12_32.m

来自「Advanced Engineering Mathematics using M」· M 代码 · 共 9 行

M
9
字号
% P12_32.M Compute Normal distribution
% INPUTS: mean, standard deviation, limits
%  Call normdist to compute value
mean=input('Mean value u= ');
stdev=input('Standard deviation s= ');
lowx=input('Lower limit = ');
highx=input('Upper limit = ');
prob=normdist(mean,stdev,lowx,highx);
fprintf('The probability is %d\n',prob)

⌨️ 快捷键说明

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