I use meshm to calculate densities. How to calculate the center point for each of the bins? I want to associate data in m with center points . I looked at the source code of meshm and believe that the solution will be a modified version of meshm that returns the latitude and longitude of each center point of the hopper,
meshm calls the meshgrat function, which returns the latitude and longitude points of the grid that will be displayed using surfacem . The problem is that the matrices lat and lon are not equal to the size m. I need to match the latitude and longitude points with the density data in m . It seems to me that I need to scale the data based on the GRATSIZE variable in meshgrat .
NOTE: meshm is part of the Matlab Mapping Toolbox.
NOTE NOTE This is the next question for determining the distance from the coastline in Matlab
mapping matlab latitude-longitude
Elpezmuerto
source share