MATLAB Raster Area Statistical Code
For example, you have the above image, which contains 1-6 types of vegetation categories. You want to calculate the non-empty average value of another raster corresponding to this image, such as NPP, for the pixels of vegetation categories 1-6. You can use the following code. The code is as follows: clear; clc;% Read veg classification … Read more