MATLAB Answers

L2 norm of the column

12 views (last 30 days)
Heya :)
Heya :) on 2 Apr 2020
Edited: Heya :) on 15 Oct 2020 at 15:55
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.

  0 Comments

Sign in to comment.

Accepted Answer

Torsten
Torsten on 2 Apr 2020
M_norm = normc(M)

  6 Comments

Show 3 older comments
Torsten
Torsten on 2 Apr 2020
Please include code and error message.
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!

Translated by