d = pathdistps(lat,lon)
d = pathdistps(x,y)
d = pathdistps(...,'km')
d = pathdistps(...,'ref',[reflat reflon])
d = pathdistps(...,'ref',[refx refy])
d = pathdistps(...,'FixDistortion',false)</pre><h2 id="2">Description</h2><p><tt>d = pathdistps(lat,lon)</tt> returns the cumulative distance <tt>d</tt> in meters along the path specified by geo coordinates <tt>lat,lon</tt>. Coordinates must be vectors of equal size.</p><p><tt>d = pathdistps(x,y)</tt> returns the cumulative distance <tt>d</tt> in meters along t