필터 지우기
필터 지우기

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