L2 norm of the column

2 Ansichten (letzte 30 Tage)
Heya :)
Heya :) am 2 Apr. 2020
Bearbeitet: Heya :) am 15 Okt. 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.

Akzeptierte Antwort

Torsten
Torsten am 2 Apr. 2020
M_norm = normc(M)
  6 Kommentare
Heya :)
Heya :) am 2 Apr. 2020
Bearbeitet: Heya :) am 15 Okt. 2020
ok
Torsten
Torsten am 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by