expdrop.m

From Spinach Documentation Wiki
Revision as of 14:22, 25 December 2017 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:expdrop.m}} Exponential drop function. ==Syntax== drop=expdrop(from,to,duration,npoints,drop_rate) ==Description== Produces an exponential fall-off from...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Exponential drop function.

Syntax

    drop=expdrop(from,to,duration,npoints,drop_rate)

Description

Produces an exponential fall-off from a specified value to a specified value with the specified rate and the number of points.

Arguments

       from - the value to drop from

         to - the value to drop to

   duration - drop duration, seconds

    npoints - the number of discretisation points
              in the drop

  drop_rate - exponential drop rate, Hz

Outputs

       drop - the values of the function at the time grid specified

See also

gaussfun.m, lorentzfun.m


Version 2.1, authors: Ilya Kuprov