<strong>y</strong>, <strong>x</strong>, <strong>options</strong>) as above but also returns the corresponding
x-coordinates of the maxima in the vector <strong>y</strong>.  <strong>x</strong> is the same length as <strong>y</strong>
and contains the corresponding x-coordinates.

</p>
<h2>Options</h2>
<table class="list">
  <tr><td style="white-space: nowrap;" class="col1">'npeaks', N</td> <td>Number of peaks to return (default all)</td></tr>
  <tr><td style="white-space: nowrap;" class="col1">'scale', S</td