This program is open source code of fast Fourier transform in matlab.
Where y is the input argument and p is the normalized size of the input. Let
y = [1 2 3 4 ];
To call the function use
too many input arguments error
code is excellent and made according to the "DECIMATION IN FREQUENCY"
thank you sir Farhat Masood.
MASHALLAH nustians does there job well.
it's just a DFT, not a FFT.
nice.. do you also have a source code for for the "fourier" and "ifourier" functions?
Its very informative and easy open source code
I agree with Ruben Faibish here. Very bad programming style
(I don't think it is meant to be fast, rather to show the calculation.)
But indeed, making it a function (with arguments) would be more logical. And in place of sqrt(-1), you can use 1i (or 1j, of i of j...)
You can use your own inputs...its simply understandable.
The code is not complete, since the inputs are not written in the function declaration. variables used in the code are reserved words. built-in FFT is 30 times faster