I want to use the L0 norm ?
25 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Nora Khaled
el 30 de Abr. de 2019
Respondida: Bruno Luong
el 6 de Oct. de 2020
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 ?
0 comentarios
Respuesta aceptada
Nora Khaled
el 1 de Mayo de 2019
1 comentario
LANTIAN WEI
el 6 de Oct. de 2020
Editada: LANTIAN WEI
el 6 de Oct. de 2020
sum(abs(x)>0) will be better
Más respuestas (1)
Ver también
Categorías
Más información sobre Get Started with MATLAB en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!