Gaussian random sequance distributed

Answers (1)

Ameer Hamza
Ameer Hamza on 13 Oct 2020
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

Asked:

on 13 Oct 2020

Answered:

on 13 Oct 2020

Community Treasure Hunt

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

Start Hunting!