image thumbnail

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

translation missing: en-US.gallery.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 (2022). 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 Linux

Community Treasure Hunt

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

Start Hunting!