fft

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
 
[[Syntax]]: fft(real = VAL, img = VAL)
 
[[Syntax]]: fft(real = VAL, img = VAL)
 
|
 
|
  dv> a                    
+
  dv> a=create(1000,1,1,start=0.0,step=0.0628,format=float)
  100x100x1 array of float, bsq format [40,000 bytes]
+
  1000x1x1 array of float, bsq format [4,000 bytes]
 
   
 
   
  dv> b = fft(a)
+
  dv> b=cos(a)
  2x10000x1 array of double, bsq format [160,000 bytes]
+
  1000x1x1 array of float, bsq format [4,000 bytes]
 +
 +
dv> f = fft(b)
 +
2x1000x1 array of double, bsq format [16,000 bytes]
 
|
 
|
[[Image:fft.png]]
+
[[Image:fft1.png]] [[Image:fft2.png]] [[Image:fft3.png]]
 
|
 
|
 
|
 
|

Revision as of 12:24, 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