whitenoise.sci

来自「小波分解源代码」· SCI 代码 · 共 21 行

SCI
21
字号
function y = WhiteNoise(x)
// WhiteNoise -- Version-independent white noise generator
//  Usage
//    y = WhiteNoise(x)
//  Inputs
//    x     nonempty matrix
//  Outputs
//    y     matrix shaped like x, filled with
//          standard normal random numbers.
//
//  Description
//    The method used avoids warning messages under both
//
//  Copyright Aldo I Maalouf

    temp=size(x);

    y = rand(temp(1),temp(2),'normal');
    endfunction
   

⌨️ 快捷键说明

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