L2 norm of the column

조회 수: 3 (최근 30일)
Heya :)
Heya :) 2020년 4월 2일
편집: Heya :) 2020년 10월 15일
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.

채택된 답변

Torsten
Torsten 2020년 4월 2일
M_norm = normc(M)
  댓글 수: 6
Heya :)
Heya :) 2020년 4월 2일
편집: Heya :) 2020년 10월 15일
ok
Torsten
Torsten 2020년 4월 2일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by