source:
altifloat/matlab_toolbox/make_meshgrid.m
@
199
Last change on this file since 199 was 134, checked in by jbrlod, 9 years ago | |
---|---|
File size: 256 bytes |
Line | |
---|---|
1 | function [LON,LAT]=make_meshgrid(outfile,S_LAT,W_LON,N_LAT,E_LON,nlon,nlat) |
2 | |
3 | lon=linspace(W_LON,E_LON,nlon); |
4 | lat=linspace(S_LAT,N_LAT,nlat); |
5 | |
6 | [LAT,LON]=meshgrid(lat,lon); |
7 | mg=[LON(:) LAT(:)]; |
8 | dlmwrite(outfile,mg,'delimiter','\t','precision',6) |
Note: See TracBrowser
for help on using the repository browser.