xyGrid

Return the two-dimensional spatial coordinate arrays.


Declaration

 [X,Y] = xyGrid()

Returns

  • X x-coordinate array in meters with shape [Nx Ny]
  • Y y-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;

This site uses Just the Docs, a documentation theme for Jekyll.