How to delete columns of a matrix that have fewer than 3 non-zero elements
Afficher commentaires plus anciens
Hello,
How can I delete columns of a matrix that have fewer than 3 non-zero elements? Thank you!
4 commentaires
osminbas
le 1 Mar 2012
Sean de Wolski
le 1 Mar 2012
Like fewer than three non-zero elements or is it a cell array ? Please define:
A = magic(5); %all columns have 5 elements
osminbas
le 1 Mar 2012
osminbas
le 1 Mar 2012
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Creating and Concatenating Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!