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

6 次查看(过去 30 天)
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.

MohammadReza Jabbari (Jabari)
编辑: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

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by