RAMPUP - Rising ramp function

Usage:
  • outsig = rampup(siglen);

Description:

RAMPUP(siglen) will return a rising ramp function of length siglen. The ramp is a sinsosoidal starting from zero and ending at one. The ramp is centered such that the first element is always 0 and the last element is not quite 1, such that the ramp fits with following ones.