Question regarding the "randi" and "rand" functions in MATLAB

I have a question regarding the randi function in the MATLAB which is a PRBS generator.
I wanted to know which polynomial degree is being implemented in MATLAB for "randi" and "rand" functions.
I wanted to know which PRBSx is used. Where, x is the integer.
Question asked based on Reference to following Wikipedia link: https://en.wikipedia.org/wiki/Pseudorandom_binary_sequence
Thanks.

Answers (1)

4 Comments

BHUSHAN MUTHIYAN's "Answer" moved here:

Hello Walter,

Thank you for your response.

I need a PRBS23 random sequence generator to generate a array of random number.

Can you please suggest me the function in MATLAB which can accomplish this task.

Also, can you walk me through an example?

Thank you.

Thank you for your quick response.
Is there not any API in MATLAB which can accomplish this task?
Thank you.

Sign in to comment.

Categories

Find more on Random Number Generation in Help Center and File Exchange

Products

Asked:

on 18 Apr 2018

Commented:

on 20 Apr 2018

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!