EigenU Europe returns to Copenhagen, DENMARK October 17-20, 2022 Complete Info Here!

Function for Normalizing Sample Vectors to Unit Length

The function normaliz.m can be used to normalize samples (rows) to vectors of unit length. The function prints out an error message if any samples samples of zero norm are found.

Requirements for running normalize

  • MATLAB 4.2 or 5.0
  • No other toolboxes required

Developed by:

Barry M. Wise
Eigenvector Research, Inc.
bmw@eigenvector.com

Download normaliz.m

To get it, simply click on normaliz.m for Mac, or normaliz.m for PC. Move the file to a folder on your MATLAB path and you’re done.