1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>eng</LANGUAGE>
6
<TYPE>Scilab Function</TYPE>
7
<DATE>April 1993</DATE>
8
<SHORT_DESCRIPTION name="prbs_a"> pseudo random binary sequences generation</SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>[u]=prbs_a(n,nc,[ids]) </CALLING_SEQUENCE_ITEM>
14
generation of pseudo random binary sequences
15
<VERB> u=[u0,u1,...,u_(n-1)];</VERB>
16
u takes values in {-1,1} and changes at most nc times its sign.
17
ids can be used to fix the date at which u must change its sign
18
ids is then an integer vector with values in <VERB>[1:n]</VERB>.</P>
23
plot2d2("onn",(1:50)',u',1,"151",' ',[0,-1.5,50,1.5]);