All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
18 views

Plotting DiracDelta series

I'm dealing with the Fourier Transform of the following signal: ...
0
votes
0answers
49 views

Fourier Transform and Inverse Fourier Transform of Lists

I am trying to compute the Fourier transform of a list, say an array of the form {{t1, y[t1]},.....{tn, y[tn]}}; apply some filters in the spectral components, and then back transform in time domain. ...
2
votes
1answer
155 views

Implementing an anti-alliasing filter in Mathematica

I'm experimenting with FFT simulations. I'm generating transient data at the some sampling rate, down-sampling this (mimicking a device's behavior) to 2048 points. Then take the FFT using ...
2
votes
1answer
122 views

How to get exact frequencies in the time response using InverseFourier?

I have amplitude data varying with frequency for a signal. From that I want to generate time response in such a way so that if I take Fourier I can get the ...
3
votes
0answers
200 views

Deconvolution using Fourier transforms

I have a 2D signal in the form of a function $g(x_m,y_m)$ given as $$ \begin{aligned} g(x_m,y_m) = \ & \int^{\infty}_{-\infty} \mathrm{d}x_o \ \mathrm{d}y_o \ \frac{1}{\varepsilon^2} P(x_o - x_m,...
2
votes
1answer
299 views

Generate noise time series with given data's PSD

I have PSD data as a 1D array, function of frequency(rad/sec). It is like powerspectrum for damped oscillator. Considering 3 modes, PSD is shown here. I want to generate noise time series which ...
1
vote
0answers
41 views

How to force the output to be in terms of a specific function?

I have a rectangular function rect[t], which is a window function with values of $ 1 $ in the interval $ (-\frac{1}{2},\frac{1}{2}) $:- ...
9
votes
2answers
281 views

Frequency of ticks in mechanical watches

I'm looking to find the frequency of a relatively large dataset (or a relatively short audio file) of a repeating sound, like so: Here are the original files, for those willing to play. :) eta2412 ...
5
votes
1answer
222 views

Fourier transform of a complicated function

This question is related to "Numerical Fourier transform of a complicated function" from 2012. I have pretty much the same problem: I have a function $f(x)$ which is complicated to evaluate, and want ...
0
votes
0answers
103 views

Fourier Scaling Issue

First a little background: I’ve looked at the following discussions on StackExchange and still racking my head on Fourier What are the most common pitfalls awaiting new users? Discrepancy between ...
27
votes
4answers
971 views

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

I would like to measure how fast my 6-bladed fidget spinner spins. To do so, after giving it a hard spin, I gently touch the spinner with a wooden stirring stick to create a buzzing sound which ...
0
votes
1answer
237 views

Ideal/Brick wall Low/High-pass filters: Fourier approach not working

I am trying to take a signal (as a list) and separate it into the low frequency and high frequency parts around some split frequency f. Given that what little signal processing I ever studied is now ...
0
votes
1answer
582 views

FFT of data to obtain resonance frequencies and correct amplitudes

I have often to do with experimental data (with a certain length and given sampling frequency) where I obtain trajetories of moving objects in 2d. Then I am interested to find out what the ...
0
votes
0answers
63 views

Prevent running out of memory when doing SpectrogramArray?

I was using SpectrogramArray[Import@"myFile", 22050, 22050]to transfrom a piano mp3 file so that I can (probably?) generate a midi file from that mp3. The step size ...
1
vote
1answer
907 views

Detecting beat frequency using FFT

I wrote Mathematica FFT code that works for non-beat signals, eg. Sin[2*Pi/20*x] and more complicated but I can't obtain beat frequency of Sin[2*Pi*(10)*x] + Sin[2*Pi*(11)*x]. Also, what is general ...
1
vote
0answers
105 views

wavelet fourier transform

I want to do wavelet Fourier transform of my data but I have few doubts in this. 1)first of all what is octive and voice command here when i am changing value according to that my plot is changing but ...
2
votes
1answer
633 views

Cut off frequency of low pass filter

I have a data here, I want to make sense of Lowpass filtering function in Mathematica.I do not fully understand units of cut off frequency in this option since the data is in frequency space. What I ...
2
votes
0answers
170 views

Analysis of the periodic data by the maximum entropy method

I am trying to get the frequency spectrum of periodic data. Since the data set is short, the outcome of the frequency peaks are not sharp enough for me to do further analysis. I know the spectrum can ...
0
votes
0answers
75 views

Numerical error or mistake when filtering using Fourier?

I am comparing the filtering method using a recurrence filter with filtering using Fourier. I think both methods should give the same answer but they differ by a small amount that could be numerical ...
2
votes
1answer
185 views

Implement inverse discrete-time Fourier transform

In Mathematica after version 9. We had ListFourierSequenceTransform to do discrete-time Fourier Transform, but we do not have the inverse function. If we peform it ...
6
votes
2answers
207 views

How to calculate the amount of offset about two list

You can get my data by this code {data1, data2} = Uncompress[FromCharacterCode@ Flatten[ImageData[Import["https://i.stack.imgur.com/ShSMY.png"], "Byte"]]]; We ...
0
votes
2answers
115 views

Can't get Mathematica to use FourierTransform in the way I want it to [closed]

I'm an EE working with signals and systems trying to get Mathematica to do a few basic functions to see if I could use it regularly in my work. Here's the code I'm working with: ...
5
votes
0answers
182 views

Comparison of Continuous and discrete Fourier Transform

Consider a continuous signal as follows: ...
0
votes
1answer
67 views

Why am I getting unexpected result while implementing Fourier Transform?

I have considered five signals of different amplitude, frequency and phase components and applied Fourier Transform using the code given below: ...
3
votes
1answer
348 views

Fourier Transform accelerogram seismic

I have a seismic accelerogram. I tried to apply the Fourier Transform to interpolate function, but dosn't work. So, i applied the ...
2
votes
1answer
775 views

Finding peaks on a Periodogram

I am currently working on a school project involving modelling sound recordings of piano notes. I have used the periodogram function to graph my recording and would like to find the peaks of this ...
6
votes
5answers
825 views

Why isn't LowPassFilter working for these parameters?

First I define a function, just a sum of a few sin waves at different angular frequencies: ...
1
vote
2answers
351 views

Plotting amplitude spectra of modulated message signal

I'm trying to plot the amplitude spectrum of the modulated message signal, I have managed to plot it by working through the maths, expanding out each trig function, and then drawing onto a graph ...
4
votes
1answer
841 views

Getting correct amplitudes with Periodogram

I'm having some trouble with the function Periodogram, mainly with getting it to produce correct amplitudes for the spectrum it returns. My question is how to fix ...
1
vote
0answers
140 views

Is oscillation seen in data signal or noise? [closed]

I have some experimental data which is well-fitted by 40 terms of a Fourier series. I want to know if the oscillation exhibited is signal or noise. I evaluated the code shown below to plot my data in ...
0
votes
0answers
311 views

Engineering spectral densities using filtered white noise

My goal is to create time-spectrum noise signals with spectral densities $S_{xx}(f)$ for pretty much arbitrary spectral densities (think white noise, lorentzian, $1/f$). In finding advice on how to do ...
4
votes
0answers
370 views

Constructing the spectral density of white noise

My goal is to find the spectral density $S_{XX}(f)$ from a time domain noise signal $X(t)$. The approach should work for general time series, but to illustrate what I've been doing I'll keep it simple:...
2
votes
3answers
501 views

Using BandpassFilter

https://drive.google.com/file/d/0B7G3oUuZG1TwRHNNV1RFZjFWUXM/view?usp=sharing Above I have linked a data set containing a 2 seconds EEG sample I have recorded of someone "blinking". This data set was ...
14
votes
1answer
1k views

How can I use Mathematica to numerically compute a Wigner spectrogram of an optical pulse?

This question was inspired by this question where it is necessary to numerically compute the Fourier transform of a Gaussian optical pulse with a Gaussian chirp function. $$E(t)=e^{-t^2} \cos(50 t - ...
1
vote
0answers
160 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 ...
1
vote
1answer
588 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 ...
2
votes
1answer
877 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: ...
4
votes
2answers
182 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): <...
5
votes
4answers
2k views

Why does Fourier give a shifted frequency?

I have a signal that I want to identify the frequencies in it, I used the Fourier function but I can't get the frequency correctly. Here is a simplified example: ...
0
votes
0answers
36 views

Why I am not getting the same frequency when sampling a waveform? [duplicate]

I am trying to simulate the sampling of a waveform to then apply FFT Analysis to it. Here is the sample code I have now using a square wave: ...
20
votes
4answers
16k views

Plotting Fourier spectrum versus frequency of a signal

I have looked around here, and i am sure this has been answered, but i don't understand it. The thing is, I have taken a introductory signal processing course, and we had to use Mathematica, and i had ...
10
votes
2answers
2k views

Correct Fourier scaling and high-resolution frequency identification

I have a dataset of amplitude versus time $(t,A(t))$ and I need to extract the dominant frequency and amplitude, and also get the amplitude at one other specific frequency. My data looks like this: <...
22
votes
6answers
19k views

How do you find the frequency and amplitude from Fourier?

Edit This is a popular question with several answers. This edit organises the answers and gives links. Fourier just gives y values (ordinates) if you wish to read off frequencies and amplitudes you ...
3
votes
1answer
4k views

Plot Fourier transform of $\sin (2 t)$

I'm trying to plot the Fourier transform of $\sin (2 t)$. I tried using the FourierTransform Function (I'm expecting a peak at w = 2) but it gives me undefined at <...
4
votes
1answer
2k views

How do you use Fourier transforms to perform a deconvolution

I've been trying to teach myself about deconvolution through Fourier transforms, but I seem to be missing something simple, as my results are garbage. I start by defining a test function and a window ...
0
votes
1answer
756 views

ListLinePlot “Cannot Take Positions” error with Fourier of WAV file

When I try to do a Fourier analysis of a WAV file with a sample rate of 22050 I get an error "Cannot take positions". What am doing wrong? ...
31
votes
3answers
13k views

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

I'm trying to apply a Fourier transform of a one dimensional list of a time history of some quantity using the Fourier function. I'm interested in the frequency ...
1
vote
0answers
848 views

Doing local FFT on huge 3D vector data cell mesh and visualizing it spatially?

Simulation type: I'm running a simulation with the OOMMF micromagnetics package http://math.nist.gov/oommf/ where are magnet is represented by a mesh of 3 million cells, it gets excited by a ...
22
votes
3answers
7k views

Can one find the beat of a tune with Fourier analysis?

I'm trying to find out if it's possible to find the beat of a tune by Fourier analysis with Mathematica. I'm taking a 44.1 kHz sample sound and hoping that I might get a nice peak for a frequency ...
23
votes
5answers
10k views

Numerical Fourier transform of a complicated function

Say I have a function $f(x)$ that is given explicitly in its functional form, and I want to find its Fourier transform[1]. If $f$ is too complicated to have an analytic expression for $\hat f(k)$, how ...