title: Normalizing rows of matrix, so that their norm is equal to 1 (MATLAB)
body: <p>I have a following problem - I have a matrix <code>A</code> of size 16x22440.</p>
  
  <p>What I need to do is to normalize each row of this matrix, so that the norm of each of them is equal to 1 (<code>for n=1:16 norm(A(n,:))==1</code>)</p>
  
  <p>How can I achieve that in matlab? </p>
  
  <p>Edit:
  Each row in this matrix is a vector created of an 160x140 image and thus must be considered separately. The values need to be normalised to create an eigenfaces matrix.</p>