gen_rand_spd
gen_rand_spd
A simple function to generate a random symmetric positive definite matrix with a specified condition number in Matlab.
Based on the specified condition number, a set of eigenvalues is generated. Then, an orthonormal eigenvector matrix U is generated using the RandOrthMat FEX function by Ofek Shilon, and the result is given by SPD=UDU'. (The distribution of the matrices U is uniform over the manifold O(n) w.r.t. the induced R^(n^2) Lebesgue measure.)
This script has been developed while I was at the University of Lübeck, with the Institute for Electrical Engineering in Medicine.
Zitieren als
Eike Petersen (2026). gen_rand_spd (https://github.com/e-pet/gen_rand_spd/releases/tag/1.0), GitHub. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxTags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0 |
