randn.m

来自「(源代码)基于计算机的信号处理实践 栾晓明译」· M 代码 · 共 16 行

M
16
字号
function R=randn(M,N)
% RANDN  Normally distributed random numbers and matrices from
%	 a normal distribution with mean 0.0 and variance 1.0.
% usage:
% 		R = randn(M,N)
%
%	R: matrix of random values
%	M: number of rows of R
%	N: number of columns of R
%
% See: rand

rand('normal');
R = rand(M,N);
rand('uniform');

⌨️ 快捷键说明

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