Peakdoublesigmoid
Jump to navigation
Jump to search
Purpose
Outputs a double sigmoid function.
Synopsis
- [y,y1,y2] = peaksigmoid(x,p)
Inputs
- x = 5 element vector where
- x(1) = coefficient,
- x(2) = offset (left),
- x(3) = decay constant (left),
- x(4) = offset (right),
- x(5) = decay constant (right).
- Note: if length(x)==4 then x(5)=x(3) providing a symmetric double sigmoid.
- p = axis 1xN (# of independent variables)
Outputs
- y(1) = where and , 1xN
- y(2) = , 3xN
- y(3) = , 3x3xN
See Also
peakfunction, peakexponential, peakgaussian, peaklorentzian, peaksigmoid, peakpvoigt1, peakpvoigt2