RandOrthMat

Versión 1.0.0.0 (695 Bytes) por Ofek Shilon
Generates a random orthogonal (real) square matrix of given size.
4,4K descargas
Actualizado 6 sep 2006

Sin licencia

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.

Citar como

Ofek Shilon (2024). RandOrthMat (https://www.mathworks.com/matlabcentral/fileexchange/11783-randorthmat), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2006a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Random Number Generation en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: kfs_suite

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0

bug fix - rand replaced with randn.