| Discussion: | Research Area |
| Topic: | need help in generating feasible correlation matrices |
| Post a new topic to the Research Area Discussion discussion |
| ||||||||
| Subject: | RE: need help in generating feasible correlation matrices |
| Author: | Giulianino |
| Date: | Jan 6 2005 |
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
| |||||||
| Post a new topic to the Research Area Discussion discussion | |||||||
| Visit related
discussions: Probability & Statistics | |||||||