title: Using Matlab Google-Earth Toolbox to plot Latitude and Longitude
body: <p>I am trying to plot some waypoints using the <a href="http://www.mathworks.com/matlabcentral/fileexchange/12954" rel="noreferrer">Google-Earth toolbox</a>. The documentation for it is pretty poor, so I figured this would be a good Stack Overflow question.</p>
  
  <p>I have a matrix, <code>wypts</code> that has pairs of latitude and longitude coordinates in decimal format (If anyone is wondering this over the State College Airport (SCE) in Pennsylvania).</p>
  
  <pre><code>wypts =
     40.8489  -77.8492
     40.8922  -77.8492
     40.9355  -77.8492
     40.9788  -77.8492
     41.0221  -77.8492
     41.0654  -77.8492
     41.1087  -77.8492
     41.1154  -77.8492
  </code></pre>
  
  <p>The following does not work instead of plotting points in Pennsylvania, it plots nothing in the off the south pole:</p>
  
  <pre><code>output = ge_plot(wypts(:,1),wypts(:,2))
  ge_output('wypts.kml',output)
  </code></pre>