フィルターのクリア

Is there a sparse version of dummyvar?

1 回表示 (過去 30 日間)
Viktor Witkovsky
Viktor Witkovsky 2014 年 1 月 6 日
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?

回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by