# gausspulse (MathScript RT Module Function)

LabVIEW 2012 MathScript RT Module Help

Edition Date: June 2012

Part Number: 373123C-01

»View Product Info Download Help (Windows Only)

Owning Class: waveform generation

Requires: MathScript RT Module

## Syntax

f = gausspulse(a)

f = gausspulse(a, b)

f = gausspulse(a, b, c)

f = gausspulse(a, b, c, d)

f = gausspulse('cutoff')

f = gausspulse('cutoff', b)

f = gausspulse('cutoff', b, c)

f = gausspulse('cutoff', b, c, d)

f = gausspulse('cutoff', b, c, d, e)

[f, g] = gausspulse(a)

[f, g] = gausspulse(a, b)

[f, g] = gausspulse(a, b, c)

[f, g] = gausspulse(a, b, c, d)

[f, g, h] = gausspulse(a)

[f, g, h] = gausspulse(a, b)

[f, g, h] = gausspulse(a, b, c)

[f, g, h] = gausspulse(a, b, c, d)

Legacy Name: `gauspuls`

## Description

Generates a signal with a sinusoidal pattern that shows rapid decays in amplitude for large absolute time values. LabVIEW generates the signal according to a Gaussian pattern.

Details

Examples

## Inputs

Name Description
a Specifies the sampling time. a is a real array.
b Specifies the center frequency in Hz. b is a positive number. The default is 1000.
c Specifies the fractional bandwidth. c is a positive number. The default is 0.5.
d Specifies the fractional bandwidth reference level. d is a negative number. The default is -6.
e Specifies a decibel level. e is a negative number. The default is -60.
'cutoff' Directs LabVIEW to return the cutoff time at which the trailing pulse envelope falls below e dB with respect to the peak envelope amplitude.

## Outputs

Name Description
f Returns the sampled Gaussian-modulated sinusoidal pulse or the cutoff time if you specify 'cutoff'.
h Returns the envelope of the Gaussian-modulated sinusoidal pulse.

## Details

LabVIEW computes the Gaussian-modulated sinusoidal pulse using the same equations as in the Gaussian Modulated Sine Pattern VI.

The following table lists the support characteristics of this function.

 Supported in the LabVIEW Run-Time Engine Yes Supported on RT targets Yes Suitable for bounded execution times on RT Not characterized

## Examples

tc = gausspulse('cutoff', 50E3, 0.6, [], -50);
X = linramp(-tc, tc, 100);
Y = gausspulse(X, 50E3, 0.6);
plot(X, Y)