><pre class="codeoutput">ans =
          2.00          4.33          4.00
</pre><h2 id="12">Example 3: Area-weighted SST</h2><p>Here's a map of sea surface temperatures using some example data that comes with CDT:</p><pre class="codeinput"><span class="comment">% Load the sample data:</span>
load <span class="string">global_sst</span>

<span class="comment">% Convert from Kelvin to Celsius:</span>
sst = sst-273.15;

<span class="comment">% Plot SSTs:</span>
imagescn(lon,lat,sst)
cmocean <span class="string"