calculating frequency in matlab

Hi. Ive calculated the spi index in matlab. And now I want to calculate the frequency (moderate, severe and strong) drought with gridded data as I want to plot the spatial in the form of frequency and severity. Thus, to calculate the frequency of each drought class (moderate, severe and strong) I have to define the spi value associated with each class and then take the frequency of values belonging to it. Can I do this in matlab? I have to have a predefined frequency in each class. Thank you in advance!

3 comentarios

KSSV
KSSV el 17 de Mzo. de 2021
You can use logical indexing. Also have a look on histogram.
Nurul Ain Basirah Zakaria
Nurul Ain Basirah Zakaria el 17 de Mzo. de 2021
Can I use it on gridded data?
KSSV
KSSV el 17 de Mzo. de 2021
Yes it can be used.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Startup and Shutdown en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 17 de Mzo. de 2021

Comentada:

el 17 de Mzo. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by