FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6355 Discussions

How to generate PRBS in Matlab 7.0?

Altera_Forum
Honored Contributor II
1,236 Views

please help. . i will appreciate any help to how to generate PRBS in matlab. 

am new to Matlab and badly needs help.. 

thanks
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
362 Views

Hi, 

 

If you haven't a simulink block for prbs then: 

A=rand(1,100); // between 0 and 1 

A= round(A*100); //between 0 and 100 

A=dec2bin(A); 

 

help rand tells you more
0 Kudos
Reply