Re: matlab and NR (C) FFT routines
jg.campbell.ng_at_gmail.com
Date: 03/29/05
- Next message: beliavsky_at_aol.com: "Re: General complete elliptic integral"
- Previous message: Gert Van den Eynde: "largest eigenvalue tridiagonal symmetric matrix"
- In reply to: revyakin_at_yahoo.com: "matlab and NR (C) FFT routines"
- Next in thread: revyakin_at_yahoo.com: "Re: matlab and NR (C) FFT routines"
- Reply: revyakin_at_yahoo.com: "Re: matlab and NR (C) FFT routines"
- Reply: revyakin_at_yahoo.com: "Re: matlab and NR (C) FFT routines"
- Messages sorted by: [ date ] [ thread ]
Date: 29 Mar 2005 05:18:09 -0800
jc@localhost~/java/classes/dl/s>$ cat four1t.c
/* #includes and defininion of four1 excluded for brevity*/
int main(void){
float data[8] = {1,2,2,3,3,4,4,5};
int i;
four1(data-1, 4, -1);
for(i=0; i< 8; i++){
printf("%8.3f ", data[i]);
}
return 0;
}
jc@localhost~/java/classes/dl/s>$ gcc -ansi -pedantic -Wall
-Wstrict-prototypes -o exe -lm four1t.c
jc@localhost~/java/classes/dl/s>$ ./exe
10.000 14.000 -4.000 0.000 -2.000 -2.000 0.000 -4.000
Is that what you wanted?
Best regards,
Jon C.
- Next message: beliavsky_at_aol.com: "Re: General complete elliptic integral"
- Previous message: Gert Van den Eynde: "largest eigenvalue tridiagonal symmetric matrix"
- In reply to: revyakin_at_yahoo.com: "matlab and NR (C) FFT routines"
- Next in thread: revyakin_at_yahoo.com: "Re: matlab and NR (C) FFT routines"
- Reply: revyakin_at_yahoo.com: "Re: matlab and NR (C) FFT routines"
- Reply: revyakin_at_yahoo.com: "Re: matlab and NR (C) FFT routines"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|