Gaussian random sequance distributed

1 visualización (últimos 30 días)
Majed Elian
Majed Elian el 13 de Oct. de 2020
Respondida: Ameer Hamza el 13 de Oct. de 2020
solution : ??

Respuestas (1)

Ameer Hamza
Ameer Hamza el 13 de Oct. de 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.

Categorías

Más información sobre Random Number Generation en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by