similar to: a question about fft ( fast fourier transform)

Displaying 20 results from an estimated 8000 matches similar to: "a question about fft ( fast fourier transform)"

2011 Feb 13
1
calculate phase/amplitude of fourier transform function in R
I did a fourier transform on a function in time domain to get the following functions in frequency domain (in latex): $Y_1[\omega] = \frac{1}{1-\phi_1 e^{-jw}}$ $Y_2[\omega] = \frac{1}{1-(\phi_1 + \phi_2)e^{-jw} +\phi_1\phi_2e^{-2jw}}$ How do I find the spectrum of this function for given $\phi_1$ and $\phi_2$ coefficients and in the discretization interval $w = [-\pi:.1*\pi: \pi]$? Then, how
2009 Mar 05
2
Fast Fourier Transform w.r.t. CreditRisk+
Dear R Helpers, Is there any literaure available (including R code) on Fast Fourier Transform being used in CreditRisk+? I need to learn how to apply the Fast Fourier Transform. I agree I am too vaue in my question and sincerely apologize for the same, but I am not able to understand as to where do I start for this particular assignment. I tried to search google for CRAN and Fast Fourier
2005 Jul 25
2
how to write a periodic function in R?
My question is how to write a periodic function in R. for example if there is a function f(x) that f(x)=f(x+4), for -2<x<2, f(x)=x how to write it in R? thanks a lot! ------------------------------- liyun (Lauren) Ma
2009 Feb 10
1
Fast fourier transformation
Hi, here is a practical problem we would like to solve. In a pneumatic post the acceleration of the capsule is measured and plotted over time. From the graph achieved we would like to derive some kind of statistic value that describes the stress the capsule, or what is in it, is exhibited to. The amount of stress introduced to the capsule will probably depend on two things, the maximum
2007 May 02
1
Is R's fast fourier transform function different from "fft2" in Matlab?
Hi All, I found "mvfft" in R and "fft2" in Matlab give different result and can't figure out why. My example is: In R: > matrix(c(1,4,2,20), nrow=2) [,1] [,2] [1,] 1 2 [2,] 4 20 > mvfft(matrix(c(1,4,2,20), nrow=2)) [,1] [,2] [1,] 5+0i 22+0i [2,] -3+0i -18+0i In Matlab: >fft2([1,2;4,20]) ans= 27 -17 -21 15 Does any function in R
2004 May 25
0
(OT) Fourier coefficients.
This posting has nothing to do with R (except maybe that I am using R very heavily in writing the paper to which the question pertains.) I simply wish to draw upon the impressive knowledge and wisdom of the R community. Since this question is way off topic, if anybody has the urge to reply, they should probably email me directly: rolf at math.unb.ca rather than via this list. My question
2008 Jul 30
0
FOURIER TRANSFORM HELP
Hello, I have a series and I need to run a Fourier Transform for that series. I have done that using the function fft from stats package. However I am not sure whether the result I am getting is correct or not. Seems that the first value of the Fourier Transform list is the sum of all elements of the given series and all the following numbers represent a palindromic series for some how. I have
2008 Jun 05
2
Fourier Transform
Hello All, I wanted to perform a fourier transform on high frequency financial data. I have searched and have not found much on this topic for R. I was wondering if anyone has used any libraries for it or have come across any papers I may read. Many Thanks, Neil Gupta [[alternative HTML version deleted]]
2008 Jul 30
2
FFT - (STATS) - is this correct?
Hello, I have calculated the fourier transform of the series enclosed at the end of this message, by doing: library(stats) x <- readLines("file1.txt") x.num <- as.numeric(x) ft.x.num <- fft(x.num) My question is: why is the first value (Real) of ft.x.num that big? (954.833870) all the other values are much smaller. Am I doing something wrong? Could you please help me to
2008 Nov 03
1
Fourier Transform with irregularly spaced x
Dear all, I work with (vibrational) spectra: some kind of intensity (I) over frequency (nu), wavelength or the like. I want to do fourier transform for interpolation, smoothing, etc. My problem is that the spectra are often irregularly spaced in nu: the difference between 2 neighbouring nu varies across the spectrum, and data points may be missing. Searching for discrete fourier transform
2003 Mar 11
3
fft help
Hi R-users: I want to know if there is an easy way to obtain a Fourier Transform form a vector or an array (just like fft does), but with a more density base. I mean, if I have a vector of 512 of length, I want the Fourier Transform to be 1024, or 2048, etc, in length (de u domain). Or should I modify the fft C code to do that? If I want to modify the precision of the fft function, which
2009 Apr 10
1
FFT function
Hi, A very simple question. I know that the Fourier transform of a Laplace distribution, with zero mean and variance 2b^2, is equal to 1/(1+(tb)^2). Therefore, the Fourier transform is a positive function (actually is always between 0 and 1). BUT, if I use the fft(alpha) function of R, where alpha is a vector containing 128 values of the probability density function from -2 to 2, I get negative
2005 Jun 13
2
Preparing timestamped data for fourier analysis
Greetings all, I'm working on a project trying to apply fourier analysis to timestamped router logs, using R to perform the analysis. The idea is to determine if any type of traffic (say, outgoing ICMP requests) has strong periodic features because it may indicate a compromise somewhere on the network. The FFT requires all data points to be evenly spaced, but the recorded events do not
2002 Apr 10
1
Layout of Fourier frequencies
I'm doing convolutions in the frequency domain and need to know the layout of the Fourier modes returned by fft. (This is leading up to a more involved question about moment generating functions, but I need to know if I've got this part correct first.) I think in 1D the pattern is: 0 1 2 3 -2 1 (even) 0 1 2 3 -3 2 1 (odd) In 2D is it simply (for a square matrix): 0 1 2 -1 (horizontal)
2009 Mar 13
2
Fourier Analysis Help
Dear R-help members, To whom it may concern, our research group is conducting a study to evaluate the predictive value of 24 hour blood pressure variability. We are looking for an R routine that performs a fast Fourier transform spectral analysis (with an output of the approximation function of the Fourier and estimates the validity of the model for the various harmonics). Thanks Vittorio
2006 Apr 10
0
Fourier / Bandpass filter help?
List, I am trying to apply some digital signal analysis methods to IPv4 networks. Specifically, I have had some success using the Fast Fourier Transform in R to find periodic events in IPv4 network traffic by producing periodograms. I store network traffic in a mysql database so I have been using RMySQL to generate a data frame of [timestamp,events] (the FFT is run on the vector of events).
2008 Oct 27
2
Stuck with FFT
Dear all, Before I can get into serious Fourier analysis of Radon time-series I am practising with 24hour and 24.8hour sinusoids to assist with my interpretation of signals ittributed to tidal input to Radon time series. I am stuck. I have tried researching this to no avail. I am awating a book that should describe fourier transforms in detail and another one that should discuss the R
2008 Apr 30
2
fft: characteristic function to distribution
The characteristic function is the inverse Fourier transform of the distribution function. The characteristic function of a normaly distributed random variable is exp(-t^2/2). x=seq(-2,2,length=100) fft(pnorm(x),inverse=T)/length(x) exp(-x^2/2) Why aren't the inverse fft and the mentioned function the same? Thanks for help, Thomas
2004 Mar 11
5
fft question
Hi! I am using the fft() function the base package to transform some 1d signal. If I use this standar fucntion I get a very huge first fourier coeficient. I think this dues to the handling of the borders of the signal. Usually in fft especially in image processing the signal is simulated to be continuous by adding the signal several times periodically. My question is, is there some function
2003 Jan 09
1
fft(x, inv=TRUE)
I started out with a real vector b and then obtained its Fourier transform thus B<-fft(b) When I did F<-fft(B, inv=TRUE) I expected that F would be the inverse FT of B but it still has imaginary components. Should the inverse FT not be purely real? Am I missing something? Thanks, Peter.