fft

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
 
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{DavinciWiki_Function}}
+
{{DavinciWiki_Function|
[[category:C_Programs]]
+
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



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]

Images

fft1.png fft2.png fft3.png

DavinciWiki Mini-Nav Bar

Contents


Contact Developers

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Core Changes

Modified On: 04-06-2006

Personal tools