Difference between revisions of "Expdrop.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Normalise sequential blank lines)
m (Spot-edit Spinach function page first-line NOTOC and template fields)
Line 1: Line 1:
{{DISPLAYTITLE:expdrop.m}}
+
{{DISPLAYTITLE:expdrop.m}} __NOTOC__
 
Exponential drop function. Produces an exponential fall-off from a specified value to a specified value with the specified rate and the number of points.
 
Exponential drop function. Produces an exponential fall-off from a specified value to a specified value with the specified rate and the number of points.
  

Revision as of 18:27, 5 June 2026

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

Syntax

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

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, snormpdf.m

Version 2.1, authors: Ilya Kuprov