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

1 visualización (últimos 30 días)
Niki
Niki el 19 de Jun. de 2015
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?

Respuestas (0)

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by