Displaying 20 results from an estimated 4000 matches similar to: "Power Spectrum from STFT (e1071)?"
2013 Dec 18
1
how to analysisi spectrum of a dataset with NA value
hi R users
I have a large 1D dataset and some of them is NA value .
I found I cound get the spectrum by such a command.
ua=c£¨10£¬30 £¬40£¬50£¬NA£©
spectrum(ua)
and I could not use na.rm just like mean or sd function
How could I get the spectrum of ua ?
thank you .
--
TANG Jie
[[alternative HTML version deleted]]
2004 Jul 15
1
Spectrum Analyizer software
This was an interesting post from another list
I'm on. I think that with all of the echo
cancellation discussion happening, that someone
perhaps might be on the lookout for this type of
software, so this post was well-timed for
Asterisk uses. It is perhaps the case that those
of you working on volume/echo/etc stuff might
find this useful towards your goals.
JT
>To: [snip]
2008 Sep 09
4
Help with 'spectrum'
For the command 'spectrum' I read:
The spectrum here is defined with scaling 1/frequency(x), following S-PLUS. This makes the spectral density a density over the range (-frequency(x)/2, +frequency(x)/2], whereas a more common scaling is 2? and range (-0.5, 0.5] (e.g., Bloomfield) or 1 and range (-?, ?].
Forgive my ignorance but I am having a hard time interpreting this. Does this mean
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)
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
2011 Feb 08
1
Recuperate Spectrum() amplitude
Dear list,
I apologies first for my English, hope you will understand well my question.
I am working on 1/2 hour piezometric data, time unit is second. They
present daily oscillation when using the spectrum() function. What I am
really interested in, is to find the amplitude corresponding to this
oscillation.
I work with a college using Matlab, and although we apply the same
methodology, our
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
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
2016 Apr 04
2
question about probplot in e1071 package
Hello!
I am using probplot in the e1071 package and want to do something like the
following, only with the the 2nd plot overlaying the first. I can't seem to
make it work. Any suggestions?
*library(e1071)
**x <- rnorm(100, mean=5)*
*y <- rnorm(100, mean=3)*
*probplot(x, line=FALSE)
*
*probplot(y, line=FALSE)
*
*Regards,*
*Tom*
[[alternative HTML version deleted]]
2007 Jan 08
2
Simple spectral analysis
Hello world,
I am actually trying to transfer a lecture from Statistica to
R and I ran into problems with spectral analysis, I think I
just don't get it 8-(
(The posting from "FFT, frequs, magnitudes, phases" from 2005
did not enlighten me)
As a starter for the students I have a 10year data set of air
temperature with daily values and I try to
get a periodogram where the annual
2009 Sep 16
3
fft help
I wrote a script that I anticipating seeing a spike at 10Hz with the
function 10* sin(2*pi*10*t).
I can't figure out why my plots do not show spikes at the frequencies I
expect. Am I doing something wrong or is my expectations wrong?
require(stats)
layout(matrix(c(1,2,3), 3, 1, byrow = TRUE))
#SETUP
n <- 256 #nextn(1001) gives next power 2
F <- 100 #Hz -50 to 50 Hz
dt
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
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]]
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 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
2016 Apr 04
0
question about probplot in e1071 package
Dear Thomas,
Reading the probplot?s help page, it looks like it is using qqplot underneath.
Thus, I think this is what you need.
probplot(x, line=FALSE)
#probplot(y, line=FALSE)
qq.y <- qqnorm(y, plot=F)
points(qq.y$y, qq.y$x)
I hope this is useful for you.
Best Regards,
Luisfo Chiroque
PhD Student
IMDEA Networks Institute
http://fourier.networks.imdea.org/people/~luis_nunez/
2011 Sep 23
1
Cross Spectrum : Conversion of 2-D spectrum into a single complex array
Hi, I'm wondering why the spectrum() phase of quadrature
couple isn't purely +/-pi.
But mostly, I'm looking for a recommended way to take a 2-D
spectrum and convert it into a single complex array.
Kindly consider:
# 10 Hz sine wave 10 seconds long sampled at 50 Hz
deltaT = 1/50
t = seq(0, 10, deltaT)
w = 2 * pi * 10
x = ts( sin( w * t ), deltat = deltaT )
y = ts( sin(
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!
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
2005 Dec 01
1
squared coherency and cross-spectrum
Hi All,
I have two time series, each has length 354. I tried to calculate the
coherency^2 between them, but the value I got is always 1. On a website,
it says: " Note that if the ensemble averaging were to be omitted, the
coherency (squared) would be 1, independent of the data". Does any of
you know how to specify properly in R in order to get more useful
coherency? The examples in