| Contents | Index |
[Z,refvec] = tbase(scalefactor)
[Z,refvec] = tbase(scalefactor,latlim,lonlim)
[Z,refvec] = tbase(scalefactor) reads the data for the entire world, reducing the resolution of the data by the specified scale factor. The result is returned as a regular data grid and an associated three-element referencing vector.
[Z,refvec] = tbase(scalefactor,latlim,lonlim) reads the data for the part of the world within the latitude and longitude limits. The limits must be two-element vectors in units of degrees.
TerrainBase is a global model of terrain and bathymetry on a regular 5-minute grid (approximately 10 km resolution). It is a compilation of the public domain data from almost 20 different sources, including the DCW-DEM and ETOPO5. The data set was created by the National Geophysical Data Center and World Data Center-A for Solid Earth Geophysics in Boulder, Colorado.
Read every 10th point in the data set:
[Z,refvec] = tbase(10); whos Name Size Bytes Class Z 216x432 746496 double array refvec 1x3 24 double array limitm(Z,refvec) ans = -90 90 0 360
Read data for Korea and Japan at the full resolution:
scalefactor = 1; latlim = [30 45]; lonlim = [115 145]; [Z,refvec] = tbase(scalefactor,latlim,lonlim); whos datagrid Name Size Bytes Class Z 180x360 518400 double array

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |