## DESCRIPTION

```V_PEAK2DQUAD find quadratically-interpolated peak in a 2D array

Note: This routine has been superceeded by v_quadpeak

Inputs:  Z(m,n)   is the input array

Outputs:  V        is the peak value
XY(2,1)  is the position of the peak (in fractional subscript values)
T        is -1, 0, +1 for maximum, saddle point or minimum
M        defines the fitted quadratic: z = [x y 1]*M*[x y 1]'```

## CROSS-REFERENCE INFORMATION

This function calls:
This function is called by:

## SOURCE CODE

```0001 function [v,xy,t,m]=v_peak2dquad(z)
0003 %
0004 % Note: This routine has been superceeded by v_quadpeak
0005 %
0006 %  Inputs:  Z(m,n)   is the input array
0007 %
0008 % Outputs:  V        is the peak value
0009 %           XY(2,1)  is the position of the peak (in fractional subscript values)
0010 %           T        is -1, 0, +1 for maximum, saddle point or minimum
0011 %           M        defines the fitted quadratic: z = [x y 1]*M*[x y 1]'
0012
0013 %       Copyright (C) Mike Brookes 2008
0014 %      Version: \$Id: v_peak2dquad.m 10865 2018-09-21 17:22:45Z dmb \$
0015 %
0016 %   VOICEBOX is a MATLAB toolbox for speech processing.
0018 %
0019 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0020 %   This program is free software; you can redistribute it and/or modify
0022 %   the Free Software Foundation; either version 2 of the License, or
0023 %   (at your option) any later version.
0024 %
0025 %   This program is distributed in the hope that it will be useful,
0026 %   but WITHOUT ANY WARRANTY; without even the implied warranty of
0027 %   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0028 %   GNU General Public License for more details.
0029 %
0030 %   You can obtain a copy of the GNU General Public License from
0031 %   http://www.gnu.org/copyleft/gpl.html or by writing to
0032 %   Free Software Foundation, Inc.,675 Mass Ave, Cambridge, MA 02139, USA.
0033 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0034