Created
February 17, 2011 20:11
-
-
Save cdrnet/832569 to your computer and use it in GitHub Desktop.
Math.NET Numerics Code Samples: Integral Transforms: FFT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// create a complex sample vector of length 96 | |
Complex[] samples = Sample.EquidistantInterval( | |
t => new Complex(1.0 / (t * t + 1.0), t / (t * t + 1.0)), | |
-16, 16, 96); | |
// inplace bluestein FFT with default options | |
Transform.FourierForward(samples); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Then we should do fftshift ourselves? or there are some mature routines in Math.Net?