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

KSSV
KSSV 2021년 3월 17일
You can use logical indexing. Also have a look on histogram.
Can I use it on gridded data?
KSSV
KSSV 2021년 3월 17일
Yes it can be used.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB에 대해 자세히 알아보기

태그

질문:

2021년 3월 17일

댓글:

2021년 3월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by