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

4 vues (au cours des 30 derniers jours)
GHUFRAN AHMAD KHAN
GHUFRAN AHMAD KHAN le 11 Mai 2019
i want to define L2,1 in programming form so anyone suggest some solution?

Réponses (2)

Steven Lord
Steven Lord le 11 Mai 2019
Use the norm function to compute the 1-norm or 2-norm of a matrix or vector.
  1 commentaire
GHUFRAN AHMAD KHAN
GHUFRAN AHMAD KHAN le 12 Mai 2019
I have to calculate L21 norm not 2-norm or 1-norm.

Connectez-vous pour commenter.


MohammadReza Jabbari (Jabari)
Modifié(e) : MohammadReza Jabbari (Jabari) le 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