RandOrthMat

Generates a random orthogonal (real) square matrix of given size.

Sie verfolgen jetzt diese Einreichung

M = RANDORTHMAT(n)
Generates a random n x n orthogonal real matrix.

M = RANDORTHMAT(n,tol)
Explicitly specifies a thresh value that measures linear dependence of a newly formed column with the existing columns. Defaults to 1e-6.

The generated matrix distribution is now (as of Sept 06) uniform over the manifold O(n) w.r.t. the induced R^(n^2) Lebesgue measure. Thanks to Roger Stafford and his randsphere for the idea.

Zitieren als

Ofek Shilon (2026). RandOrthMat (https://de.mathworks.com/matlabcentral/fileexchange/11783-randorthmat), MATLAB Central File Exchange. Abgerufen .

Quellenangaben

Inspiriert: kfs_suite

Kategorien

Mehr zu Random Number Generation finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0

bug fix - rand replaced with randn.