Gaussian random sequance distributed

5 visualizzazioni (ultimi 30 giorni)
Majed Elian
Majed Elian il 13 Ott 2020
Risposto: Ameer Hamza il 13 Ott 2020
solution : ??

Risposte (1)

Ameer Hamza
Ameer Hamza il 13 Ott 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.

Categorie

Scopri di più su Random Number Generation in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by