How to generate a symmetric positive definite matrix?

196 views (last 30 days)
I have to generate a symmetric positive definite rectangular matrix with random values.

Accepted Answer

Elias Hasle
Elias Hasle on 2 Oct 2019
Edited: Elias Hasle on 2 Oct 2019
What are the requirements to the distributions of the resulting random variables?
I think a crucial insight is that multiplying a matrix with its transpose will give a symmetrical square matrix.

More Answers (1)

madhan ravi
madhan ravi on 17 Oct 2018
Edited: madhan ravi on 17 Oct 2018
  4 Comments
Bruno Luong
Bruno Luong on 2 Oct 2019
Edited: Bruno Luong on 2 Oct 2019
Andrei your solution does not produce necessary sdp matrix (which does not meant the matrix elements are positive)

Sign in to comment.

Categories

Find more on Random Number Generation in Help Center and File Exchange

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!