Gaussian random sequance distributed
Show older comments
Answers (1)
Ameer Hamza
on 13 Oct 2020
0 votes
Generate the Gaussian random sequence using randn(): https://www.mathworks.com/help/matlab/ref/randn.html and use cos(): https://www.mathworks.com/help/matlab/ref/double.cos.html to calculate cosine. Generate the sequence of 'n' using colon operator: https://www.mathworks.com/help/matlab/ref/colon.html. The rest is pretty simple.
Categories
Find more on Random Number Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!