MATLAB Answers

L2 norm of the column

15 views (last 30 days)
Heya :)
Heya :) on 2 Apr 2020
Edited: Heya :) on 15 Oct 2020
How can I write the code to find the L2 norm of the column (G`)ij as shown in the picture below. In my code I have used M instead of G.

Accepted Answer

Torsten
Torsten on 2 Apr 2020
M_norm = normc(M)
  6 Comments
Torsten
Torsten on 2 Apr 2020
If G is the matrix you want to normalize, then G' = normc(G).
I think that G=M in your code, but I'm not sure.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!