You are not logged in.
login | register

Discussion: Research Area
Topic: need help in generating feasible correlation matrices


Post a new topic to the Research Area Discussion discussion
<< see all messages in this topic
<previous message | next message >


Subject:   RE: need help in generating feasible correlation matrices
Author: Giulianino
Date: Jan 6 2005
Dear Sir

Maybe you have already solved this little problem but if not then try:

in MatLab:

R = gallery('randcorr',n) %Where n is the size of the matrix

This will generate a random correlation matrix, which is positive definite.

The random numbers are drawn from a uniform distribution.

The routine is part of the LAPACK suite in my version of MatLab.

Julian Williams

University of Bath

Reply to this message          Quote this message when replying?
yes  no
Post a new topic to the Research Area Discussion discussion
Visit related discussions:
Probability & Statistics

Discussion Help