⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 r4_normal.m

📁 用于生成一个正态分布的伪随机数数值序列
💻 M
字号:
function [ x, seed ] = r4_normal ( a, b, seed )%% R4_NORMAL returns a scaled pseudonormal R4.%%  Modified:%%    17 July 2006%%  Author:%%    John Burkardt%%  Parameters:%%    Input, real A, the mean of the normal PDF.%%    Input, real B, the standard deviation of the normal PDF.%%    Input, integer SEED, a seed for the random number generator.%%    Output, real X, a sample of the standard normal PDF.%%    Output, integer SEED, an updated seed for the random number generator.%  x = a + b * r4_normal_01 ( seed );

⌨️ 快捷键说明

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