Question regarding the "randi" and "rand" functions in MATLAB
Show older comments
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)
Walter Roberson
on 18 Apr 2018
0 votes
That technique is not used unless specifically requested. See https://www.mathworks.com/help/matlab/math/creating-and-controlling-a-random-number-stream.html#brvku_2
4 Comments
Stephen23
on 20 Apr 2018
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.
BHUSHAN MUTHIYAN
on 20 Apr 2018
Categories
Find more on Random Number Generation in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!