White Noises Generation in Matlab
2 次查看(过去 30 天)
显示 更早的评论
Hi, I'm writing a function for the simulation of a multi-correlated random process with autoregressive filters' method. So I need to generate M white noises, being M the process dimension. I've tried using both "randn" and "mvnrnd", but the white noises seems to be not perfectly unrelated. In fact both the coherence functions and the cross-spectrums are not zero. This affects the simulated process' quality, which is more correlated than I expect. So, is there a better way to generate an M dimensional process of unrelated white noises?
0 个评论
回答(1 个)
Daniel Shub
2013-1-18
This isn't really a MATLAB question, I think your understanding of random processes is a little off. If you generate finite length random samples from two uncorrelated random processes you will find that the correlation is not exactly zero. As the length of the sample increases the correlation will decrease.
3 个评论
Daniel Shub
2013-1-18
Is your problem essentially that corrcoef(randn(1e3, 1), randn(1e3, 1)) doesn't return an identity matrix?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spectral Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!