randcorr

This function implements the algorithm by Pourahmadi and Wang for generating a random p x p correlation matrix.

Download
Download

You are now following this Submission

Cite As

Statovic (2026). randcorr (https://au.mathworks.com/matlabcentral/fileexchange/68810-randcorr), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Genomics and Next Generation Sequencing in Help Center and MATLAB Answers

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.1

-added code to ensure that all diagonal entries are set to 1

Download
1.1.0

-Code is now vectorised and is approximately 10x faster than the previous (non-vectorised) version.

Download
1.0.0

Download