Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - 日本語

Change language to:
English - Français - Português - Русский

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilabヘルプ >> Elementary Functions > elementarymatrices > random > noisegen

noisegen

ノイズ生成 (obsolete)

呼び出し手順

b=noisegen(pas,Tmax,sig)

説明

noisegen() is obsolete. It will be removed from Scilab 6.1.x. Please use grand() instead. Examples (clearer, shorter, and more powerful) follow:

100 10-point wide steps with random amplitudes of normal distribution of mean 1 and standard deviation 0.7:

u = grand(1,100,"nor",1,0.7) .*. ones(1,10);
clf, plot(u);

40 15-point wide steps with random amplitudes of uniform distribution in [1 3], with initial level 0.5 and final level hold:

width = 15;
u = grand(1,40, "unf", 1, 3) .*. ones(1,width);
u = [ones(1,8*width)*0.5, u, ones(1,5*width)*u($)];
clf, plot(u);

Scilab 関数 [b]=Noise(t)を生成します. ただし, Noise(t)は区分定数関数です ([k*pas,(k+1)*pas]の区間は定数). 各一定区間の値は, 互いに独立で同一の分布に従う標準偏差 sig のガウス分布 によるランダムな値です. 関数は,t<=0および t>=Tmaxでは一定です.

noisegen(0.5,30,1.0);
x=-5:0.01:35;
y=feval(x,Noise);
plot(x,y);

履歴

バージョン記述
6.1.0 noisegen() is obsolete. It will be removed from Scilab 6.1.x. Please replace it with grand() and .*.
Report an issue
<< grand random prbs_a >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:37:47 CET 2022