Create orthonormal vectors
Version 1.0.0.0 (1.2 KB) by
Calvin Price
Creates a random set of orthonormal vectors
2K Downloads
Updated
28 Jul 2008
No License
Produces an m x n set of orthonormal vectors,
Inputs should be two scalars, m and n, where n is smaller than
or equal to m.
Example: >> get_orthonormal(5,4)
ans =
0.1503 -0.0884 -0.0530 0.8839
-0.4370 -0.7322 -0.1961 -0.2207
-0.3539 0.3098 0.7467 -0.0890
0.7890 -0.1023 0.0798 -0.3701
-0.1968 0.5913 -0.6283 -0.1585
Cite As
Calvin Price (2026). Create orthonormal vectors (https://www.mathworks.com/matlabcentral/fileexchange/18973-create-orthonormal-vectors), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2007a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Program now creates a set of m x n orthonormal vectors, where user chooses m and n. |
