# Tag Info

### How can I draw a Homer with epicycloids?

The main challenge to make something general is to create a list of points that, when joined, is as close as possible to the original image. The first example (elephant) focuses on the mathematical ...
• 14.3k
Accepted

### How to use 2D Fourier analysis to clean the noise in an image

Here's what I did back in pre-MMA6 times. I believe you can easily adapt this method to work with all the fancy commands that have been added since then. Someone proficient in CDF programming could ...
• 5,506

### What's the correct way to shift zero frequency to the center of a Fourier Transform?

I am writing this answer to put on record how to do the equivalent of fftshift() in MATLAB, for both the one- and two-dimensional cases. In Mathematica, the ...

### Calculate the 2D Fourier transform of an Image

Taking the Fourier transform is easy and fun! Let's strip away some of the complexities. First, remove the color from the image, since this just complicates things (you can always take the transform ...
• 69.1k

### Circular Aperture Diffraction Pattern

Physicist chiming in - Hi!. I believe there has been some confusion here. It seems to me that OP is meaning to plot an Airy disk which was studied by G.B. Airy but is not given by the Airy function. ...

### A more convenient Fourier series

For the reasons mentioned above, I wrote the following "shell" for these functions: ...
• 66.7k

### How can I use fast Fourier transform (FFT) to solve a PDE (heat equation)?

There are three mistakes here, mainly related to FFT. First, you misunderstood the meaning of fftshift in the MATLAB code. It's not ...
• 66.7k

### Find the function $f(x)$ by using its fourier expansion

Note that the expression returned by Sum is correct and equals $x(1-x)$ for $0 \leq x \leq 1$. I assume your question is how to simplify the expression into $x(1-x)$...
• 36.2k
Accepted

### How fast is my fidget spinner spinning? A sound experiment!

First, import the audio and extract usable data from it: ...
• 1,883

### Implement finite Fourier transforms

This post contains several code blocks, you can copy them easily with the help of importCode. The following is my implementation for finite Fourier transforms. ...
• 66.7k
Accepted

### How to set up a spherically symmetric Fourier transform?

Summary: To perform the 3D Fourier Transform of a spherically symmetric function $f(r)$ in Mathematica, use the command (4 Pi)/k FourierSinTransform[f[r] r, r, k] ...
• 15.2k

### Package for fast spherical harmonic transform in Mathematica?

I am aware that my answer would not be accepted because OP explicitly demanded a FFT-like method. I am aware of the fact that the method is not very fast either. However, it is so simple that I do ...
• 18.6k

### Circular Aperture Diffraction Pattern

I feel a bit bad about sliding in so lately. @Nasser's answer was already very good. However, the function is very oscillatory, so I thought it might be a better idea to use a ...
Accepted

### Why does Fourier give me a different picture than ImagePeriodogram?

There are two differences between ImagePeriodogram and Fourier. One you have already identified (ImagePeriodogram takes the Log of the Fourier spectrum). Second, the periodogram is shifted so that ...
• 69.1k
Accepted

### Why does this Fourier transform not match the formula?

I think the confusion is between frequency in cycles per second or Hz and frequency in radians per second. In the page you link to the frequency is in Hz. Thus to match this convention the ...
• 16.5k

### Fourier transform of interpolating function

Starting with your equations we get ...
• 16.5k
Accepted

### finding Frequency of Sinewave data using Fourier

Have a look at my post on using Fourier here you will see that the frequency axis has an increment of the sample rate divided by the number of points and goes from zero to one less than the sample ...
• 16.5k
Accepted

### Comparing ordinates between FourierTransform and Fourier

Several points are raised by this question. The key issue to understand is how FourierTransform and Fourier are scaled. A second ...
• 16.5k

### Fourier Transform With Noise

It depends how we define "noise". Suppose the noise comes from the Alternative Current (AC) of a device placed near the recorder of the signal. Then the noise is going to be a high frequency sinusoid. ...
• 37.8k
Accepted

### Does version 11 have this bug in FourierSeries?

This is a bug in FourierSeries, and appears to be caused by the default setting GenerateConditions -> False which is used ...
• 1,404
Accepted

...
• 396k
Accepted

### Fourier in Mathematica different from octave

Read the docs for Fourier. There are different conventions, and Mathematica lets you choose which convention you want using the ...
• 69.1k
Accepted

### Using Fourier Series to acquire Nonlinear ODE Periodic Solutions

Direct solution of the last equation in the question also is feasible, because the Fourier series converges very rapidly. as will be seen below. The equation for a three term expansion can be written ...
• 61.6k
Accepted

### Discrepancy between Matlab and Mathematica Fourier parameters

From the documentation, Mathematica defaults to defining y = Fourier[x] as: $$y_k = \frac1{\sqrt{n}} \sum_{j=1}^n x_j e^{2 \pi i (j-1) (k-1)/n}$$ From the ...
• 116
Accepted

### Indeterminate result from Sinc

You've avoided Sin[0]/0 problems, but your numerator and denominator in your more complicated expression are still both zero in some cases. One way is to take a ...
• 13.7k

### Fourier Transform to help guess with NonLinearModelFit

I am guessing that you are trying to fit the data to a sum of sinusoids, and use frequency analysis to provide guesses for the parameters. Here is one approach using Periodogram: ...
• 4,604
Accepted

### Strange result of FourierCosCoefficient on $\cos^2 t$

@user64494 is correct that the result arises because some of Mathematica's solvers return results that are only generically correct (that is, incorrect only for finitely many exceptions or on a ...
• 236k
Accepted

### How to visualize overtones in Mathematica?

You can use Manipulate with an IntervalSlider to look at the different harmonics. ...
• 159k

### What's wrong with this FFT-based Von Kármán vortex street simulation?

I found the index should start from 0 instead of 1. This affects the (squared) wave number k....
• 3,740