Random sequence Generation in MATLAB | Part 1
Many practical sequences cannot be described by a mathematical expression.
These sequences are called random (or stochastic) sequences and are characterized by parameters of the associated probability density functions or their statistical moments.
In MATLAB two types of random sequences are available. The rand(1,N) generates a length N random sequence whose elements are uniformly distributed between [O, l].
The randn(1 ,N) generates a length N Gaussian random sequence with mean 0 and variance 1. Other random sequences can be generated using transformations of the above functions.
These sequences are called random (or stochastic) sequences and are characterized by parameters of the associated probability density functions or their statistical moments.
In MATLAB two types of random sequences are available. The rand(1,N) generates a length N random sequence whose elements are uniformly distributed between [O, l].
The randn(1 ,N) generates a length N Gaussian random sequence with mean 0 and variance 1. Other random sequences can be generated using transformations of the above functions.
Please follow us:
https://www.facebook.com/matlabcodes
Join us on Telegram:
https://t.me/matlabirawen
Join us on Facebook Group:
https://www.facebook.com/groups/matlabcodes
https://www.facebook.com/matlabcodes
Join us on Telegram:
https://t.me/matlabirawen
Join us on Facebook Group:
https://www.facebook.com/groups/matlabcodes
No comments