| LTPDA Toolbox™ | contents | ![]() |
DFT computes the DFT of the input time-series at the requested frequencies. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: DFT computes the DFT of the input time-series at the requested frequencies. CALL: b = dft(a, pl) Parameters Description %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
| Method Details | |
|---|---|
| Access | public |
| Defining Class | ao |
| Sealed | 0 |
| Static | 0 |
| Sets for this method … |
|---|
| Default |
Default |
|||
|---|---|---|---|
| no description | |||
| Key | Default Value | Options | Description |
| dft | |||
| WIN | 'Rectangular' |
|
The window to be applied to the data to remove the discontinuities at edges of segments. [default: taken from user prefs] Only the design parameters of the window object are used. Enter a string value containing the window name e.g. plist('Win', 'Kaiser', 'psll', 200) plist('Win', 'BH92') |
| PSLL | 200 | none | The peak sidelobe level for Kaiser windows. Note: it is ignored for all other windows |
| SCALE | 1 |
|
Scale the output according to the applied window resulting in [unit] rms. |
| F, FREQUENCIES, F0 | -1 | none | The vector of frequencies at which to compute the DFT or an AO where the x-axis is taken for the frequency values. |
| NBINS | 5 | none | The number of bins either side of each frequency from which to compute the mean error.The error will be computed from the bins deltaF*[-Nbins-skip:-skip skip:skip+Nbins] where deltaF = fs/Nsamples is the frequency resolution. |
| SKIP | 3 | none | The number of bins either side of each frequency to ignore when computing the mean error. |
Example |
|---|
| plist('WIN', 'Rectangular', 'PSLL', [200], 'SCALE', [true], 'F', [-1], 'NBINS', [5], 'SKIP', [3]) |
back to top
| Some information of the method ao/dft are listed below: | |
|---|---|
| Class name | ao |
| Method name | dft |
| Category | Signal Processing |
| Package name | ltpda |
| Can be used as modifier | 1 |
| Supported numeric types | {'double'} |
|
Method: ao/detrend | Method: ao/diff | ![]() |
©LTP Team