Gram-Schmidt
Version 1.0.0.0 (1.18 KB) by
Vito Tafuni
Gram-Schmidt algorithm to orthonormalize a set of vectors.
The set of vectors is passed like column vectors of a matrix.
This algorithm take advantage of the matrix form using sub matrix (more vectors at the same time).
I've tested it with a random 1000x1000 matrix (so 1000 vectors 1000x1) giving a result in 7.4863 sec (mean value on 5 executions... best time 7.2321)
Cite As
Vito Tafuni (2026). Gram-Schmidt (https://se.mathworks.com/matlabcentral/fileexchange/26583-gram-schmidt), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R14
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Linear Algebra >
Find more on Linear Algebra in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: Gramschmidt matrix
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
