I have to define ||Z||2,1 in matlab programming form.

조회 수: 4 (최근 30일)
GHUFRAN AHMAD KHAN
GHUFRAN AHMAD KHAN 2019년 5월 11일
i want to define L2,1 in programming form so anyone suggest some solution?

답변 (2개)

Steven Lord
Steven Lord 2019년 5월 11일
Use the norm function to compute the 1-norm or 2-norm of a matrix or vector.
  댓글 수: 1
GHUFRAN AHMAD KHAN
GHUFRAN AHMAD KHAN 2019년 5월 12일
I have to calculate L21 norm not 2-norm or 1-norm.

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


MohammadReza Jabbari (Jabari)
MohammadReza Jabbari (Jabari) 2020년 9월 11일
편집: MohammadReza Jabbari (Jabari) 2020년 9월 11일
Hi, Use "norms(X,p,dim)" in CVX environment :
http://ask.cvxr.com/t/could-l21-norm-be-built-in-objective-function/4351?u=mohammad_reza_jabbar

Community Treasure Hunt

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

Start Hunting!

Translated by