mardi 28 juillet 2015

How to generate random numbers correlated to a given dataset in matlab

I have a matrix x with 10,000 rows and 20 columns. I want to generate another new matrix of random numbers , y, where y is correlated to x with correlation coefficient q.

Note that the matrix x is not normally distributed - it has the power law distribution.

I want to perform this in matlab




Aucun commentaire:

Enregistrer un commentaire