peak to peak amplitude MATLAB - Search