PLS_Toolbox Documentation: peakpvoigt2 | < peakpvoigt1 | peakstruct > |
peakpvoigt2
Purpose
Outputs a pseudo-Voigt function, Jacobian, and Hessian for a given set of input parameters and axis.
Synopsis
[y,y1,y2] = peakpvoit1(x,ax);
Description
Given a 4-element vector of parameters (x) and a vector of independent variables e.g. a wavelength or frequency axis (ax), PEAKPVOIT2 outputs a pseudo-voit peak (y). If more than one output is requested, it also outputs the Jacobian (y1) and Hessian (y2). Derivatives are with respect to the parameters and are evaluated at (x). This function is called by PEAKFUNCTION.
INPUTS:
OUTPUTS:
Algorithm
The function is
Examples
%Make a single known peak
ax = 0:0.1:100;
y = peakpvoigt2([2 51 8 0.5],ax)
plot(ax,y)
See Also
peakfunction, peakgaussian, peaklorentzian, peakpvoigt1
< peakpvoigt1 | peakstruct > |