title: Calculating the norm of each row in a matrix
body: <p>I have a Nx3 matrix (A)  the columns are X,Y,Z respectively. I want to calculate the norm that is sqrt(X^2+Y^2+Z^2) for each row. I did a for loop for that:</p>
  
  <pre><code>for i = 1:length(A)
  Result(i) = norm(A(i,:))
  end
  </code></pre>
  
  <p>is there any other way to do it avoiding for loop?</p>
  
  <p>Thanks</p>