Zero Mean White Gaussian Noise with Covariance Matrix Given

26 vues (au cours des 30 derniers jours)
Bakul Jangley
Bakul Jangley le 6 Juil 2021
I need to generate a zero mean white gaussian noise (vk, 3x1) with the covariance matrix as .
This is what I did:
noise = rand(3,1);
cmatrix = cov(noise);
vk = cmatrix*noise;

Réponses (1)

Bjorn Gustavsson
Bjorn Gustavsson le 6 Juil 2021
Check the help and documentation for mvnrnd.
HTH

Community Treasure Hunt

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

Start Hunting!

Translated by