e instant. Let's pick 4:15 pm on January 12, 2020, and we'll choose an area around Baffin Bay.</p><pre class="codeinput"><span class="comment">% Define arrays of equally spaced lat,lon locations:</span>
lat = 60:0.05:90;
lon = -100:0.1:-20;

<span class="comment">% Turn the arrays into grids:</span>
[Lon,Lat] = meshgrid(lon,lat);

<span class="comment">% Predict tides at 4:15 pm (UTC) on January 12, 2020:</span>
t = datenum(<span class="string">'jan 12, 2020, 16:15'</span>);
Z = tmd_predict(<span class="str