- #1
confused_engineer
- 39
- 2
- TL;DR Summary
- I am working unsing the software Matlab trying to construct realizations of gaussian stochastic processes. However, the results I obtain don't look gaussian.
Hello everyone.
I am currently working with Matlab. I have a 2D gaussian kernel constructed using the muKL technique (first attached figure). I want to use it to generate realizations of a gaussian random process using the KL theorem. For that, I obtain then all eigenvectors and eigenvalues of said kernel and multiply the square root of each eigenvalue by the corresponding eigenvector and a number extracted from a N(0,1) and add all of them together to obtain the realization. I do this a number of times and obtain what can be seen in the second attached figure. However, if I plot the first and second half of each realization differently over a 2D surface, I obtain what can be seen in the third attached figure, which doesn't look gaussian at all. Can someone please tell me what am I doing wrong?
I will too attach a sample code with a smaller covariance matriz so that if anyone is interested, can take a look (since the kernel is too big to upload)
Best regards.
Confused_engineer.
I am currently working with Matlab. I have a 2D gaussian kernel constructed using the muKL technique (first attached figure). I want to use it to generate realizations of a gaussian random process using the KL theorem. For that, I obtain then all eigenvectors and eigenvalues of said kernel and multiply the square root of each eigenvalue by the corresponding eigenvector and a number extracted from a N(0,1) and add all of them together to obtain the realization. I do this a number of times and obtain what can be seen in the second attached figure. However, if I plot the first and second half of each realization differently over a 2D surface, I obtain what can be seen in the third attached figure, which doesn't look gaussian at all. Can someone please tell me what am I doing wrong?
I will too attach a sample code with a smaller covariance matriz so that if anyone is interested, can take a look (since the kernel is too big to upload)
Best regards.
Confused_engineer.