Effacer les filtres
Effacer les filtres

L2 norm of the column

3 vues (au cours des 30 derniers jours)
Heya :)
Heya :) le 2 Avr 2020
Modifié(e) : Heya :) le 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.

Réponse acceptée

Torsten
Torsten le 2 Avr 2020
M_norm = normc(M)
  6 commentaires
Heya :)
Heya :) le 2 Avr 2020
Modifié(e) : Heya :) le 15 Oct 2020
ok
Torsten
Torsten le 2 Avr 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Creating and Concatenating Matrices dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by