Peakdoublesigmoid

From Eigenvector Research Documentation Wiki
Revision as of 09:03, 23 May 2023 by Neal (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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,peakpvoigt1,peakpvoigt2