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

5 views (last 30 days)
GHUFRAN AHMAD KHAN
GHUFRAN AHMAD KHAN on 11 May 2019
i want to define L2,1 in programming form so anyone suggest some solution?

Answers (2)

Steven Lord
Steven Lord on 11 May 2019
Use the norm function to compute the 1-norm or 2-norm of a matrix or vector.

MohammadReza Jabbari (Jabari)
Edited: MohammadReza Jabbari (Jabari) on 11 Sep 2020
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