RandOrthMat

版本 1.0.0.0 (695 字节) 作者: Ofek Shilon
Generates a random orthogonal (real) square matrix of given size.
4.4K 次下载
更新 2006/9/6

无许可证

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.

引用格式

Ofek Shilon (2026). RandOrthMat (https://ww2.mathworks.cn/matlabcentral/fileexchange/11783-randorthmat), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Random Number Generation 的更多信息
致谢

启发作品: kfs_suite

版本 已发布 发行说明
1.0.0.0

bug fix - rand replaced with randn.