Clustering data into specific range

Hi,
I have a wind speed data that contain information of Latitude:Longitude:Wind speed, of a specific area. Right now, I want to classify the wind speed value into 3 clasess which are low, medium and high.
This is my data example
Latitude Longitude Wind speed
0.0000000e+00 9.5000000e+01 3.6036667e+00
0.0000000e+00 9.5250000e+01 3.5781667e+00
0.0000000e+00 9.5500000e+01 3.5515000e+00
0.0000000e+00 9.5750000e+01 3.5359167e+00
0.0000000e+00 9.6000000e+01 3.5348333e+00
0.0000000e+00 9.6250000e+01 3.5368333e+00
0.0000000e+00 9.6500000e+01 3.5077500e+00
0.0000000e+00 9.6750000e+01 3.4358333e+00
0.0000000e+00 9.7000000e+01 3.3370000e+00
0.0000000e+00 9.7250000e+01 3.2308333e+00
0.0000000e+00 9.7500000e+01 3.1323333e+00
0.0000000e+00 9.7750000e+01 3.0404167e+00
0.0000000e+00 9.8000000e+01 2.9537500e+00
0.0000000e+00 9.8250000e+01 2.8655833e+00
0.0000000e+00 9.8500000e+01 2.7736667e+00
0.0000000e+00 9.8750000e+01 2.6754167e+00
0.0000000e+00 9.9000000e+01 2.5668333e+00
0.0000000e+00 9.9250000e+01 2.4494167e+00
0.0000000e+00 9.9500000e+01 2.3389167e+00
I want to classify the data into low wind speed (0-1.9 m/s), medium wind speed (2-4.9 m/s) and high wind speed (5-9 m/s). Can anybody share to me and help me to find solution for my problem ?.

 Accepted Answer

Stephan
Stephan on 15 Jul 2019
check out the data type categorical

More Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Asked:

zzm
on 15 Jul 2019

Commented:

zzm
on 15 Jul 2019

Community Treasure Hunt

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

Start Hunting!