fft
From DavinciWiki
(Difference between revisions)
(5 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | Perform a fast Fourier transform | + | Perform a fast Fourier transform on an object containing an arbitrary number of samples. |
| | | | ||
Arguments: A numeric array | Arguments: A numeric array | ||
Line 6: | Line 6: | ||
Return Value: A 2xN array containing the real and imaginary components | Return Value: A 2xN array containing the real and imaginary components | ||
| | | | ||
− | Syntax: fft(VAL) | + | [[Syntax]]: fft(real = VAL, img = VAL) |
| | | | ||
− | dv> a | + | 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 = | + | 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: | + | [[Image:fft1.png|500px]] [[Image:fft2.png|500px]] [[Image:fft3.png|500px]] |
| | | | ||
| | | |
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 |