Normalize columns of matrix to unit lenght

Usage : Takes 2D-matrix x and returns y such that each columns of y have unit length
319 Downloads
Updated 2 Apr 2014

View License

[y] = normalize_column(x)
Input :
x : 2D real/complex valued matrix
Output :
y : Normalized matrix such that each column of y is of unit length

Cite As

Kamlesh Pawar (2024). Normalize columns of matrix to unit lenght (https://www.mathworks.com/matlabcentral/fileexchange/46115-normalize-columns-of-matrix-to-unit-lenght), 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!
Version Published Release Notes
1.0.0.0