Displaying 20 results from an estimated 3000 matches similar to: "fft question"
2004 Mar 15
4
norm of complex number
Hi!
I want o calc the norm of a complex number ( |c| where c is complex). Does the function abs() this ?
Thanks,
--
Frank G. Zoellner
AG Angewandte Informatik
Technische Fakult"at
Universit"at Bielefeld
phone: +49(0)521-106-2951
fax: +49(0)521-106-2992
email: fzoellne at techfak.uni-bielefeld.de
2001 Feb 14
2
help with tcltk
Hallo!
Can anyone explain to me how to add a vert. scrollbar to a listbox using tcltk please?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject
2004 Mar 09
2
SVM unbalanced classes
Hi!
I am using R 1.8.1 and the svm of the e1071 package for classification.
The problem is that I have unbalanced classes e.g. the first one is much bigger than the second one and therfore the svm is biased to the first class.
If I manually adjust the class size the bias disappears.
The question is then how to include this unequal class distribution to the svm (e.g. via wheights or costs)?
2001 Feb 20
2
tcltk: testing for widgets?
Hallo!
I want to test if a widget exists. Using Perl/Tk i can call the function tkexists(). How can I realise this function with R/tclTk ?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or
2004 Mar 11
5
Receiver Operator Characteristic curve
Dear R-helpers:
I want to calculate area under a Receiver Operator Characteristic curve. Where can I find related functions?
Thank you in advance
Xiao
2001 Feb 22
2
Problem with tcltk listbox
Hi!
I've got two problems with listboxes and selection:
I created a listbox, no problem. Then I bind the Button-1 of the mouse to the listbox to start some things by pressing the mousebutton. The proiblem is that as I click a item of the listbox this error occured:
Error in .Tcl(.Tcl.args(...)) : [tcl] bad listbox index "": must be active, anchor, end, @x,y, or a number.
Repaeting
2001 Nov 22
6
Editing R graphics
One of the few things that I miss from Splus is
the ability of interactively add text and symbols to graphics
that have been created by functions. I understand that the best
solution in R is to create a graphic file and use external
software for editing the graphic. I know what to use in the
Win environment, but could anyone suggest what tools would
be appropriate under Linux?
Thanks
Agus
Dr.
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
2009 Sep 29
1
fft with NA values
Hi List,
I'm trying to perform some spectral analysis on a time series, but I've
got a few data points missing, so they have NA values. Unfortunately,
the fft function doesn't seem to like this, and gives a completely empty
result.
Other than making up values to fill in the gaps, is there any way I can
get around this?
Thanks in advance,
Steve.
PS I haven't spotted anything
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
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 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 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
2005 Aug 19
2
FFT, frequs, magnitudes, phases
Hi,
I'm in dire need of a fast fourier transformation for me stupid biologist,
i.e. I have a heartbeat signal and would like to decompose it into pure sin
waves, getting three vectors, one containing the frequencies of the sin
waves, one the magnitudes and one the phases (that's what I get from my data
acquisition software's FFT function).
I'd be very much obliged, if someone
2002 Jul 30
1
Problem with legend
Hi!
I have a problem using the legend command.
I typed as follows:
plot(foo bar...)
legend(0.6,10, c("True Positiv", "False Positive", "False Negative","True Negative"), col = c("black",2,3,4),lty=c(1,1,1,1),pch=c(0,0,0,0), merge = TRUE, bg='gray90')
The plot and its legend is displayed ok. The I apply a dev.cop2eps on it to save the
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.
2006 Jan 24
3
R-help Digest, Vol 35, Issue 24
Dear Prof Ripley,
First of all, unless you are an english professor, then I do not think you have
any business policing language. I'm still very much a student, both in R, and
regarding signal analysis. My competence on the subject as compared too your
own level of expertise, or my spelling for that matter, may be a contension for
you, but it would have been better had you kept that opinion
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
2009 May 27
1
How to write a loop?
Dear R helpers,
Following is a R script I am using to run the Fast Fourier Transform. The csv files has 10 columns with titles m1, m2, m3 .....m10.
When I use the following commands, I am getting the required results. The probelm is if there are 100 columns, it is not wise to define 100 commands as fk <- ONS$mk and so on. Thus, I need some guidance to write the loop for the STEP A and