spectrum()
Returns the spectrum as a complex array
Syntax
spectrum(function(0), NumPoints, Period, Delay, Window)
| Name | Description | Range | Type | Default | Required |
|---|---|---|---|---|---|
| function(0) | Function with a single argument | function | yes | ||
| NumPoints | Number of points | [0, ∞) | integer, real | yes | |
| Period | Time step period | [0, ∞) | integer, real | yes | |
| Delay | Delay | [0, ∞) | integer, real | 0 | no |
| Window | Specifies if windowing is to be applied | [0, 1] | integer, real | 0 | no |
Examples
Creates a spectrum:
fCos\(x\) = cos_pulse\(x, 0, 2, 0, 100ps, 100ps, 200ps, 400ps\) specV = spectrum\(fCos\(time\), 128, 400ps\)
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()