Zero Mean White Gaussian Noise with Covariance Matrix Given

26 Ansichten (letzte 30 Tage)
Bakul Jangley
Bakul Jangley am 6 Jul. 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;

Antworten (1)

Bjorn Gustavsson
Bjorn Gustavsson am 6 Jul. 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