IRootLab
An Open-Source MATLAB toolbox for vibrational biospectroscopy
sigfun.m File Reference

Detailed Description

Sigmoid function.

See also
biocomparer

Definition in file sigfun.m.

Go to the source code of this file.

Functions

function sigfun (in x, in hh, in flag_demo)
 

Function Documentation

function sigfun ( in  x,
in  hh,
in  flag_demo 
)
Parameters
xargument (works with vectors and matrices as well
hh=45. "half-height". Defaults to 45 cm^{-1}
flag_demoIf passed, will generate its own x (passed x will be ignored) and a figure