xyGrid
Return the two-dimensional spatial coordinate arrays.
Declaration
[X,Y] = xyGrid()
Returns
Xx-coordinate array in meters with shape[Nx Ny]Yy-coordinate array in meters with shape[Nx Ny]
Discussion
Return the two-dimensional spatial coordinate arrays.
For a barotropic transform, [X,Y] = wvt.xyGrid returns arrays of shape [Nx Ny] formed with ndgrid(wvt.x,wvt.y).
[X,Y] = wvt.xyGrid;