how to label my data into several classes in the format of dataset?

조회 수: 1 (최근 30일)
Niki
Niki 2015년 6월 19일
I have a matrix of
df =randi(10,100,1)
and i have a class numbers as follows:
df2 = randi ([1 2], 100, 1);
now how to assign the df2 to df1 and make the format as dataset?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by