i have a complete matrix of dimension 116X17. I need a half of the elements ie 896 elememens of the matrix are created randomly with all other cell have NaN value.
Like that, each value of "a" is correlated to each value of "b", but applying the formula of the correlation, the correlation of two single numbers is NaN. To compute the correlation correctly, traspose the input vectors
Best Answer