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

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab manual >> CACSD > prbs_a

prbs_a

擬似バイナリ乱数列の生成

呼び出し手順

[u]=prbs_a(n,nc,[ids])

説明

擬似バイナリ乱数列 u=[u0,u1,...,u_(n-1)]を生成します. u は {-1,1} の範囲の値となり, 最大で nc 回その符号を変えます. ids は u が符号を変える日付を修正するために使用されます. ids は[1:n]の範囲の値をとる整数ベクトルです.

u=prbs_a(50,10);
plot2d2("onn",(1:50)',u',1,"151",' ',[0,-1.5,50,1.5]);
<< ppol CACSD projsl >>

Copyright (c) 2022-2024 (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:
Wed Jan 26 16:25:08 CET 2011