Peakdoublesigmoid: Difference between revisions
Jump to navigation
Jump to search
(Created page with "===Purpose=== Outputs a double sigmoid function. ===Synopsis=== :[y,y1,y2] = peaksigmoid(x,p) ===Inputs=== * '''x''' = 5 element vector where :* x(1) = coefficient, :* x...") |
No edit summary |
||
Line 29: | Line 29: | ||
===See Also=== | ===See Also=== | ||
[[peakfunction]], peakexponential, [[peakgaussian]], [[peaklorentzian]],[[peakpvoigt1]],[[peakpvoigt2]] | [[peakfunction]], peakexponential, [[peakgaussian]], [[peaklorentzian]], [[peakpvoigt1]], [[peakpvoigt2]] |
Revision as of 09:03, 23 May 2023
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, peakpvoigt1, peakpvoigt2