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

11 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 :


Find more on Loops and Conditional Statements 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!

Translated by