Peaksigmoid: Difference between revisions

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search
imported>Scott
(Created page with "===Purpose=== Outputs a sigmoid function.")
 
 
(73 intermediate revisions by one other user not shown)
Line 1: Line 1:
===Purpose===
===Purpose===
Outputs a sigmoid function.
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) ''' = <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