normdist.m
来自「Advanced Engineering Mathematics using M」· M 代码 · 共 7 行
M
7 行
function prob=normdist(mean,stdev,lowx,highx)% CALL: prob=normdist(mean,stdev,lowx,highx)% compute normal distribution with mean= mean and% standard deviation stdev between lowx and highxz='(x-mean)/stdev';intg='exp(-z^2/2)/sqrt(2*pi)';prob=numeric(int(intg,lowx,highx));
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?