![]() |
|
| << Previous | Next >> | |
| | |
void fftrealinv( int * x, int N, int * blockexp );
Description
- Computes the 2
N-point real sequence corresponding to theN-point, positive-frequency complex spectrum in array x. TheN-point, positive-frequency spectrum contained in arrayxis replaced with its corresponding 2N-point real sequence. The value ofblockexpis increased by 1 each time arrayxhas to be scaled, to avoid arithmetic overflow. The value ofblockexpis also decreased by log2Nto include the 1/Nfactor in the definition of the inverse DFT.
- The function expects to find the real part of the fmax term in the imaginary part of the zero-frequency
X[0]term (storedx[1]).
- The 2
N-point real sequence is stored in natural order. The zeroth element of the sequence is stored inx[0], the first element inx[1], and the kth element inx[k].
Nmust be a power of 2 and between 4 and 1024. An invalidNcauses a RANGE exception.Parameters
- x
- Pointer to
N-element array of complex fractions.
- N
- Number of complex elements in array
x.
- blockexp
- Pointer to integer block exponent.
Library
- FFT.LIB
See also
- fftcplx, fftcplxinv, fftreal, hanncplx, hannreal, powerspectrum
| Dynamic C Functions | << Previous | Next >> | rabbit.com |