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

208 Views Asked by At

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

0

There are 0 best solutions below