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

4 views (last 30 days)
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

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!