impulse()

Computes the impulse response and returns a complex array

Syntax
impulse(CpxFunction(0), NumPoints, TimeStep, CnterFreq, Window)

Arguments
Name Description Range Type Default Required
CpxFunction(0) Function with a single argument function yes
NumPoints number of points [0, ∞) integer, real yes
TimeStep Time Step (0, ∞) integer, real yes
CenterFreq Center frequency [0, ∞) integer, real 0.0 † no
Window Specifies if window is to be applied [0, 1] integer, real 0 † no
† by default response is assumed to be baseband and no window applied

Examples

Create a baseband response:
f(x) = exp(-j*2*pi*x*2ns)/2 + exp(-j*2*pi*x*5ns)/(1+j*2*pi*x*20ns)
imp = impulse(f(0), 128, 1ns)
Create a RF response:
frect(x) = rect(x, 1GHz, 0.02/1ns) * exp(-j*2*pi*x*128ns)
imp = impulse(frect(0), 256, 1ns, 1GHz)

Notes/Equations

The impulse() function does nothing about potential non-causal responses. The function simply returns the entire inverse transformed waveform as being a long positive time only impulse.

The number of points is rounded up to the next power of 2, in order to apply an FFT.

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources