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

Detailed Description

Point-by-point multiplications of the rows of X by a sigmoid.

See also
pre_sigwindow

Definition in file sigwindowuni.m.

Go to the source code of this file.

Functions

function sigwindowuni (in X, in idxcentre, in scale)
 

Function Documentation

function sigwindowuni ( in  X,
in  idxcentre,
in  scale 
)
Parameters
Xmatrix with curves as rows
idxcentreindex where sigmoid will be 0.5
scalelength for sigmoid to go from 0.5 to .995 or .005
Returns
X