L2 norm of the column

4 visualizaciones (últimos 30 días)
Heya :)
Heya :) el 2 de Abr. de 2020
Editada: Heya :) el 15 de Oct. de 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.

Respuesta aceptada

Torsten
Torsten el 2 de Abr. de 2020
M_norm = normc(M)
  6 comentarios
Heya :)
Heya :) el 2 de Abr. de 2020
Editada: Heya :) el 15 de Oct. de 2020
ok
Torsten
Torsten el 2 de Abr. de 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.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Creating and Concatenating Matrices en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by