Peaksigmoid: Difference between revisions
Jump to navigation
Jump to search
imported>Mathias |
|||
(30 intermediate revisions by one other user not shown) | |||
Line 5: | Line 5: | ||
===Synopsis=== | ===Synopsis=== | ||
:[y,y1,y2] = peaksigmoid(x, | :[y,y1,y2] = peaksigmoid(x,p) | ||
===Inputs=== | ===Inputs=== | ||
Line 14: | Line 13: | ||
:* x(2) = offset | :* x(2) = offset | ||
:* x(3) = decay constant | :* x(3) = decay constant | ||
* '''p''' = axis 1xN (# of independent variables) | |||
===Outputs=== | ===Outputs=== | ||
* '''y(1) ''' = <math> {{x}_{1}} \left( \frac{1-{{\operatorname{e}}^{-z}}}{{ 1 }+{{\operatorname{e}}^{-z}}} \right)</math> where z = <math> {x}_{3}\left(p -{x}_{2} \right)</math>, 1xN | |||
* '''y(2) ''' = <math>{\operatorname{d}\!y\over\operatorname{d}\!{x}_{i}}</math> , 3xN | |||
* ''' y(3) ''' = <math>{\operatorname{d^2}\!y\over\operatorname{d}\!{{x}_{i}}^{2}}</math> , 3x3xN | |||
===See Also=== | |||
[[peakfunction]], [[peakexponential]], [[peakgaussian]], [[peaklorentzian]], [[peakpvoigt1]], [[peakpvoigt2]] |
Latest revision as of 10:05, 23 May 2023
Purpose
Outputs a sigmoid function.
Synopsis
- [y,y1,y2] = peaksigmoid(x,p)
Inputs
- x = 3 element vector where
- x(1) = coefficient
- x(2) = offset
- x(3) = decay constant
- p = axis 1xN (# of independent variables)
Outputs
- y(1) = where z = , 1xN
- y(2) = , 3xN
- y(3) = , 3x3xN
See Also
peakfunction, peakexponential, peakgaussian, peaklorentzian, peakpvoigt1, peakpvoigt2