how to devide data into 3 catagaries

2 visualizaciones (últimos 30 días)
skyhunt
skyhunt el 7 de Nov. de 2015
Editada: skyhunt el 8 de Nov. de 2015
hi...i want to devide the rainfall data into 3 catagaries, the first one is <70 and the second one is 70 to 120 and 3 rd one is >=120

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Nov. de 2015
idx = YourData < 70;
lowrain = YourData(idx);
idx = 70 <= YourData & YourData < 120;
midrain = YourData(idx);
idx = 120 <= YourData;
highrain = YourData(idx);
  1 comentario
skyhunt
skyhunt el 8 de Nov. de 2015
Editada: skyhunt el 8 de Nov. de 2015
thanking you reply...in high rain catagiry the years are also adding finally..what i do?

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox 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