Questions on the discrete and continuous Fourier analysis functions of Mathematica, as well as the FourierSeries` package.

learn more… | top users | synonyms

0
votes
0answers
55 views

Using Fourier to return exponential function

I am trying to use Fourier to numerically demonstrate the following identity: $$ \frac{1}{2\pi}\int_{-\infty}^{\infty}\frac{e^{i\,s\,y}}{1 + a\,s}ds=e^{-y/a} $$ I'm getting the correct shapes, but my ...
0
votes
0answers
28 views

InverseFourier of nested lists

last week I've got an Mathematica package that is using several inverse Fourier transforms on a data cube ($n\times n\times n$-array). I'm implementing the same functionality in C++ and tried to ...
3
votes
0answers
40 views

Different FourierParameters in each dimension for discrete Fourier transform

I have a query about the Fourier utility, that does discrete Fourier transforms. I am unable to find any information on whether different FourierParameters can be used in each dimension. This is a ...
0
votes
0answers
42 views

How to change the period in FourierSeries

I have a function that represents a 9-bit transmission and gives one cycle of periodic signal. I need to plot it for three different frequencies, How can I change the cycle time from $[-\pi, \pi]$ to ...
2
votes
0answers
38 views

Calling CUDA cuFFT

Following ybeltukov's excellent answers (see here and here) about how to access the CUDA library functions and interact with Mathematica through CUDAMemory, I tried to compile the code given in ...
1
vote
2answers
76 views

Why does InverseFourierTransform gives different result to doing it by hand?

When I can calculate an inverse fourier transform by the built-in function InverserFourierTransform, the result is different from what I calculate by definition ...
0
votes
0answers
87 views

fourier frequency analysis for NDSolve of complex variable

i have a set of coupled equations for complex amplitudes c1 and c2, for which i'd like to find frequency and phases (and phase shift); i looked up for some nswers on the forum, but can't seem to find ...
3
votes
0answers
76 views

Help with Fourier analysis and filtering of an image

I am starting with the following image: For the curious, it is an STM scanned image of graphite. I am hoping to find some kind of periodic structure in the image related to the honeycomb structure ...
0
votes
0answers
28 views

PeriodogramArray or PowerSpectralDensity?

could anyone explain what is the difference between PowerSpectralDensity[data,omega] and PeriodogramArray[data]? When I plot them (starting from the same set of data of course) I get two different ...
0
votes
0answers
12 views

Create periodic function from combining non-periodic functions [migrated]

I'm studying recurrent neural networks which often use tanh as an activator function which is not periodic. However in research and papers it's shown that these recurrent neural nets can exhibit ...
1
vote
2answers
108 views

Get Y-Axis of FFT in decibels

I am trying to make a plot of a sound file similar to Audacity's FFT plot which looks like this when the x-axis is on a log scale: My plot of the same sound file (below) has the problem that the ...
0
votes
0answers
26 views

FourierSinCoefficients extremely slow

I'm just playing with Fourier decomposition of periodic functions. We had a similar example with standing waves and cosines in class, so I tried to expand a triangle wave in sines. This is what I came ...
2
votes
2answers
215 views

Using Periodogram to investigate the seasonality of the data

After asking how to get rid of the seasonality of this set of data, I'd like to ask how to investigate the seasonality in data using Mathematica. Which tool would you use to study seasonality? I.e. ...
1
vote
2answers
213 views

How to calculate the phase spectrum

I have the following frequency characteristics in the Fourier domain: $$H(\omega)=\frac{-\omega^2}{63170s^{-2}-\omega^2+355.1s^{-1}i\omega}$$ How do I find the phase spectrum from this? I should ...
4
votes
1answer
155 views

Finding the dominant frequency in a large dataset with Fourier + periodogramm

I know there are dozens of questions about how to extract the correct frequency out of data, however I probably don't interpret my data correctly, or do not apply those answers correctly. Problem I ...
1
vote
1answer
46 views

Changing Function Domain of Fourier Series

If I write FourierSinSeries[x, x, 10] Mathematica will output the first 10 terms of the Fourier Sine Series f(x) = x defined for 0 < x < Pi. How do I output the the Fourier Sine Series for ...
0
votes
0answers
36 views

Multidimensional Fourier PDE solution and and exact solution are scaled by $(2 \pi)^{2}$

I'm solving a partial differential equation (Stokes equation) in a periodic domain in three dimensions with fourier transforms. I'm using Fourier[] mathematica routines to perform the discrete ...
1
vote
1answer
89 views

Extracting out the Fourier modes of a series, and using these to reconstruct data series

I would like to extract the most important frequency modes from a data set which exhibits strong annual periodicity, as well as some (less) important shorter-term frequency components. The following ...
0
votes
1answer
77 views

Fourier Transform on a Sound

I don't really know much above Fourier Transform , or how it's used in Mathematica but I want to know how I can find out, out of which Sin-waves a (static) sound is made of. So for example I take "G" ...
0
votes
1answer
86 views

Discrete Fourier Transform of a vector defined on a 3D lattice

In my research I need to compute the Discrete Fourier transform of a vector defined on a 3D lattice (a cube) to the "reciprocal" lattice. This is quite new to me so before proceeding i wanted to be ...
0
votes
0answers
76 views

How to filter my signal?

As you can see, my signal is superimposed by an other sinus which has a slightly longer frequency. I would like to filter this out. I think I can do the filtering process, but there is one step that I ...
2
votes
0answers
42 views

Precision loss in FourierDCT

I have high precision data that I want to do Fourier transform with, but it looks like the precision is lost dramatically. ...
1
vote
0answers
142 views

Using 2D Fourier transform of an image to detect typical wavelengths

I am new to Mathematica, and I have read this post to understand how to perform Fourier transform on an image. My mission is to extract information on the typical distance between the black patches in ...
0
votes
0answers
87 views

The inverse Fourier transform of a rather complex function

I am using Mathematica 7.0 and trying to find the Fourier transform of a rather complex function g. The function g is defined by ...
5
votes
0answers
142 views

Periodogram for irregularly spaced data

I am trying to replicate some existing work on the length of the cycles in certain economic data. Specificially, I am using the Schularick and Taylor (2012) data set to replicate the periodogram shown ...
1
vote
0answers
105 views

Inverse Fourier Transform - wolfram alpha vs Mathematica 9.0

I'm facing an interesting problem. I'm trying to do this simple task: InverseFourierTransform[0.031622*Exp[0.4995ω^2], ω, t] Mathematica can't handle it for some ...
0
votes
0answers
87 views

Fourier Transformation of a List

As we know the FourierTransform goes a function of t ,for example, f[t] to ...
2
votes
1answer
99 views

Finding periodicity of multidimensional data?

I have a data set consisting of measurements of an $n$-dimensional vector $\mathbf{x}(t)$, at $N$ distinct time points $t_i$. The time points $t_i$ are equally spaced. I need to find the dominant ...
9
votes
2answers
215 views

InverseFourierTransform of simple function takes forever

i'm quite new to Mathematica. I'm trying to do something along the lines of: ...
2
votes
1answer
150 views

Is there any function in Wolfram Mathematica simmilar to fft.fftfreq (Python)

Here is an explanation of fft.fftfreq I have data with random noise: ...
1
vote
1answer
253 views

Discrete Fourier Transform with x axis data?

Usually, Fourier Transform in mathematica is supplied by y data only, like the famous Sin[x] transform example. What if my data is a list of ...
0
votes
0answers
24 views

Inverse Fourier transform to get real function [duplicate]

I have got a sampled complex function, $H(\omega)$ and know that its inverse Fourier transform has to be real function $h(t)$, which means that $H(-\omega)=H^{\ast}(\omega)$ has to be fulfilled. If we ...
1
vote
1answer
141 views

Inverse Fourier transform

I am dealing with an inverse Fourier transform of a sampled complex function, $H(\omega)$. I want to obtain a real transformed function $h(t)$, which means that $H(-\omega)=H^{\ast}(\omega)$ has to be ...
1
vote
1answer
164 views

How to use a Fourier Transform to find the frequency spectrum of Eigenvectors?

I have a matrix that looks like this ...
0
votes
0answers
77 views

problem using FourierTransform

I'd like to make a fourier transform of equation: ...
0
votes
0answers
81 views

Approximating The Fourier Transform

Eq.(1)$$f(z)=\frac {k}{2\pi}\int_{C}F(\theta)e^{ikz\cos \theta} \,d\theta$$ for $$|z|\le l$$ and the side condition Eq.(2) $$0=\frac {k}{2\pi}\int_{C}F(\theta)e^{ikz\cos \theta} \,d\theta$$ for ...
3
votes
2answers
123 views

Compare two shifted signals

I have one set of original data (signal A) and a second set of derived data (signal B) which was computed from A by position rotation (circular shift). Here are the data for the signals (A and B): ...
0
votes
0answers
28 views

How to keep computing Hilbert transforms until I find the right one

I would like to get mathematica to arbitrarily plug in pairs of functions to the Hilbert transform operation, and to stop as soon as it gives me a pair of Hilbert transforms that obey certain ...
1
vote
1answer
125 views

Trouble with Fourier transform of Exp[-Sqrt[x]]

First time trying to do something "real" in Mathematica, I am having trouble getting it to calculate this Fourier transform. It runs for a long time, then just prints the input expression. ...
0
votes
1answer
154 views

Why is my Fourier transformed matrix rotated?

After Fourier transforming and shifting the zero frequency of a matrix, my outcome is rotated by 45 degrees from what it should be. Can anybody spot why? ...
3
votes
1answer
94 views

How to create a 1D vector by selecting a straight line in a given angle of 2D array

Suppose I have an image created by the code provided below. I want to select a line (1D vector) $ \left(y-y_{0}\right)=n\left(x-x_{0}\right) $ from the output image (2D matrix) by specifying $n$ and ...
2
votes
1answer
145 views

2D Fourier transform of a few (4) disjoint discs on a plane

I'd really appreciate some advice. Short Version I'm trying to calculate the following $$ ...
6
votes
4answers
814 views

Why this gives 0?

fixed in 10.0.2. Why this gives 0? I am in shock, it should be Sinh[x]. FullSimplify[I InverseFourierTransform[FourierTransform[Cosh[t],t,w]/w,w,x]]
2
votes
1answer
197 views

2-Dimensional NFourierTransform

Mathematica FourierSeries package contains the NFourierTransform function for calculating 1-D Fourier integral numerically. ...
1
vote
0answers
173 views

Mathematica does not calculate inverse fourier transformation or the convolution of two functions

I am trying to take convolution of a Gaussian function with an exponential function. Mathematica couldn't calculate it. ...
1
vote
0answers
84 views

Incorrect output from InverseFourierTransform

Bug introduced in 8.0.4 or earlier and fixed in 9.0.1 or earlier I am trying to compute the inverse Fourier transform of this expression ...
1
vote
0answers
72 views

Fourier transform an expression to obtain a distribution?

I have this expression for the correlation function for a rigid rotating molecule: $G(\tau) = 4 \pi \int \omega ^2 P_2[\cos (\omega \tau)] P(\omega) \, \mathrm{d}\omega \quad [1]$ where $P_2$ is a ...
0
votes
1answer
135 views

How to set up the Fourier domain for a Fourier Transform? [duplicate]

I am having trouble understanding how to set up the grid in the Fourier domain, while performing Discrete Fourier Transforms. This might be a very trivial question, but I'd appreciate any help ...
0
votes
0answers
72 views

Issues with zero frequency component in discrete Fourier transform

I'm having trouble with the Fourier function at the moment. I'm solving a set of differential equations with NDSolve, then need to extract the spectrum associated with the curve below: So i use ...
1
vote
1answer
187 views

Programming a recursive FFT with Mathematica

I'm trying to program a FFT using a recursive function in Mathematica, though my program is not getting me anywhere at the moment. Could you say what's wrong with it and what I can do to make it work? ...