The Octave Forge package repository is no longer actively maintained. Please find Octave Packages at https://packages.octave.org.

Navigation

Operators and Keywords

Function List:

C++ API

Function File: x = normr (M)

Normalize the rows of a matrix to a length of 1 and return the matrix.

  M=[1,2; 3,4];
  normr(M)

  ans =

  0.44721   0.89443
  0.60000   0.80000

See also: normc.

Package: miscellaneous