L2 norm of the column

1 view (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
Heya :)
Heya :) on 2 Apr 2020
Edited: Heya :) on 15 Oct 2020
ok
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)

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!