I want to use the L0 norm ?
Show older comments
Hi !
I was trying to use the function norm(v,p). but p takes value from 1 to inf.
How can I calulate the zero norm ?
Accepted Answer
More Answers (1)
Bruno Luong
on 6 Oct 2020
nnz(x)
Categories
Find more on MATLAB 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!