how to devide data into 3 catagaries

7 Ansichten (letzte 30 Tage)
skyhunt
skyhunt am 7 Nov. 2015
Bearbeitet: skyhunt am 8 Nov. 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

Antworten (1)

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by