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