fft
From DavinciWiki
(Difference between revisions)
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | {{DavinciWiki_Function | + | {{DavinciWiki_Function| |
− | [[ | + | Perform a fast Fourier transform on an object containing an arbitrary number of samples. |
+ | | | ||
+ | Arguments: A numeric array | ||
+ | |||
+ | Return Value: A 2xN array containing the real and imaginary components | ||
+ | | | ||
+ | [[Syntax]]: fft(real = VAL, img = VAL) | ||
+ | | | ||
+ | dv> a=create(1000,1,1,start=0.0,step=0.0628,format=float) | ||
+ | 1000x1x1 array of float, bsq format [4,000 bytes] | ||
+ | |||
+ | dv> b=cos(a) | ||
+ | 1000x1x1 array of float, bsq format [4,000 bytes] | ||
+ | |||
+ | dv> f = fft(b) | ||
+ | 2x1000x1 array of double, bsq format [16,000 bytes] | ||
+ | | | ||
+ | [[Image:fft1.png|500px]] [[Image:fft2.png|500px]] [[Image:fft3.png|500px]] | ||
+ | | | ||
+ | | | ||
+ | *[[ifft]] | ||
+ | | | ||
+ | | | ||
+ | }} | ||
[[category:Functions]] | [[category:Functions]] | ||
+ | [[category:Davinci Core]] | ||
[[category:Math]] | [[category:Math]] |
Latest revision as of 12:28, 6 April 2006
Contents: Description, Arguments, Usage, Examples, Images, Related Functions Supported Under Version: >1.69 Current Davinci Version: 2.27 64-bit Safe: No
Description Perform a fast Fourier transform on an object containing an arbitrary number of samples.
Arguments and Return Values Arguments: A numeric array Return Value: A 2xN array containing the real and imaginary components
Usage Syntax: fft(real = VAL, img = VAL)
Examples dv> a=create(1000,1,1,start=0.0,step=0.0628,format=float) 1000x1x1 array of float, bsq format [4,000 bytes] dv> b=cos(a) 1000x1x1 array of float, bsq format [4,000 bytes] dv> f = fft(b) 2x1000x1 array of double, bsq format [16,000 bytes]
|
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Related Functions
Recent Core Changes Modified On: 04-06-2006 |