Is there a sparse version of dummyvar?
Afficher commentaires plus anciens
I need to generate large sparse matrix from nominal variable, say x,
X = dummyvar(x)
The output X is a large dense matrix of zeros and ones. Is there a version of dummyvar which produse as an outpu a sparse matrix X?
Réponses (0)
Catégories
En savoir plus sur Analysis of Variance and Covariance dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!