Displaying 20 results from an estimated 2000 matches similar to: "Is R's fast fourier transform function different from "fft2" in Matlab?"
1999 Apr 22
1
mvfft (PR#176)
This message is in MIME format
--_=XFMail.1.3.p0.Linux:990422185944:4782=_
Content-Type: text/plain; charset=us-ascii
R-0.64.0 on RedHat Linux 5.1
Some problems with multivariate fast fourier transform. I
have attached the dump of a 30 x 3 matrix that seems to
reliably reproduce these problems
1) mvfft doesn't like vectors. It complains about not having
enough memory:
R>
2001 Jun 04
1
2D convolution
Dear all,
I have an image that I need to filter, and so I'm looking for a method to
convolve it with a matrix. If I understood the docs for convolve
correctly, it only works in 1D (and I have tried to convolve, it didn't
look good).
So, I wondered if anybody have implemented 2D convolution in R, or have
any good advices to share (beyond having a look at mvfft), before I go
hacking?
2003 May 20
1
R-1.7.0 'make check' fails on reg-tests-1
Dear all,
I am trying to upgrade R-1.6.2 to R-1.7.0 on an SGI running IRIX6.5.
Everything compiles but I get an error in the testing phase:
[snip]
running regression tests
make[3]: Entering directory `/usr/local/src/R-1.7.0/tests'
running code in 'reg-tests-1.R' ...make[3]: *** [reg-tests-1.Rout] Error 1
make[3]: Leaving directory `/usr/local/src/R-1.7.0/tests'
make[2]: ***
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
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
1999 Apr 22
0
mvfft
This message is in MIME format
--_=XFMail.1.3.p0.Linux:990422185944:4782=_
Content-Type: text/plain; charset=us-ascii
R-0.64.0 on RedHat Linux 5.1
Some problems with multivariate fast fourier transform. I
have attached the dump of a 30 x 3 matrix that seems to
reliably reproduce these problems
1) mvfft doesn't like vectors. It complains about not having
enough memory:
R>
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]]
2006 Jan 31
1
How do I "normalise" a power spectral density
I have done a fair bit of spectral analysis, and hadn't finished collecting my thoughts for a reply, so hadn't replied yet.
What exactly do you mean by normalize?
I have not used the functons periodogram or spectrum, however from the description for periodogram it appears that it returns the spectral density, which is already normalized by frequency, so you don't have to worry about
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)
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
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
2011 May 31
2
newbie: fourier series for time series data
Hi Guys,
I had a monthly time series's data of land temperature from 1980 to 2008.
After plotting a scatter diagram, it seems that annually, there is a semi
sinusoidal cycle. How do I run Fourier's series to the data so that I can
fit model on it?
I am really sorry for my question sound stupid, but I just don't know where
to start.
I am desperately looking for help from you guys.
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
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 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
2005 Jul 26
0
a question about fft ( fast fourier transform)
Dear listers
In R, if I have a sequence x(t), t=1,...N, fft(x) is actually giving us
sum(x(t)exp(-i*omega*t)) at fourier frequency omega= 2*pi*i/N,
i=0,1,...(N-1).
The question is if I want to calculate sum(x(t)exp(-i*2*omega*t)), how can
I do it?
thanks a lot!
-------------------------------
liyun (Lauren) Ma
Dept of Statistics
North Carolina State University
2009 Jul 25
3
how to smooth timeseries without the lagging?
Hi all,
If I use a moving average, it will smooth the choppy time series, but
it will lead to lagging...
How do I smooth timeseries without the lagging effect?
Thanks!
2012 Jun 05
1
Fourier descriptors created in a loop
Hi All,
Here is the problem: I'm trying to generate a number of Fourier Descriptors
figures for an experiment.
All I need is that they are created within a loop and saved with sequential
names (e.g., s1_1.png, s1_2.png etc..) in my directory.
I created a nested loop with a counter for the different amplitudes for the
actual shapes and a counter for the file names.
This script:
*count
2012 Sep 20
1
fourier series for finding average values
Dear UseRs,
i have a matrix of 365 rows and 444 columns. i drew each column of this matrix against the number of days in a year, which are obviously 365. now i have 444 curves and i want to Use Fourier analysis for the approximation of the average values.
does anyone know how to do it?
any help in this regards will be deeply appreciated...
regards
eliza
[[alternative HTML version
2012 Apr 09
0
Question on harmonic (Fourier) analysis of sinusoidal time series
Hello,
I will try to explain the problem, sorry if it will be a little long...
I'm using R to analyze results of cyclic mechanical testing, like this:
- apply quasi-sinusoidal load
- measure quasi-sinusoidal vertical and horizontal deformations
(quasi-sinusoidal load means that load "should be" sinusoidal, but testing
machine puts in some noise...)
I enclose a sample of data at