lorentzcon.m

From Spinach Documentation Wiki
Revision as of 11:44, 1 November 2022 by Kuprov (talk | contribs) (Created page with "{{DISPLAYTITLE:lorentzcon.m}} __NOTOC__ Normalised Lorentzian function in magnetic resonance notation and its convolution with a triangular function. ==Syntax== y=loren...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Normalised Lorentzian function in magnetic resonance notation and its convolution with a triangular function.

Syntax

    y=lorentzcon(offs,ampl,fwhm,x)

Arguments

    offs - peak offset from zero - when this is a scalar,
           a Lorentzian is returned; when this is a vector
           with three elements, a convolution with a tri-
           angular function is returned.

    ampl - amplitude multiplier, scalar

    fwhm - full width at half-maximum, scalar

       x - argument, array of any dimension

Outputs

    y - an array of values, same size as x

See also

Numerical infrastructure


Version 2.7, authors: Ilya Kuprov