Displaying 20 results from an estimated 800 matches similar to: "Translate Sine Function in R?"
2011 Aug 09
1
nls, how to determine function?
Hi R help,
I am trying to determine how nls() generates a function based on the
self-starting SSlogis and what the formula for the function would be.
I've scoured the help site, and other literature to try and figure
this out but I still am unsure if I am correct in what I am coming up
with.
**************************************************************************
dat <-
2010 Oct 18
2
Sine function fitting
Hi,
Is there a package to perform a sine function fitting to XY data?
Thx,
Ashz
--
View this message in context: http://r.789695.n4.nabble.com/Sine-function-fitting-tp3000156p3000156.html
Sent from the R help mailing list archive at Nabble.com.
2008 Nov 20
4
Fitting a sine wave using solver
Greetings,
I have several sets of oscillation data and would like to estimate the
parameters of a sine function to each set (and hopefully automate
this). A colleague provided an excel sheet that uses solver to minimize
the RSS after fitting the sine function to each data set, but this
cumbersome and difficult to automate. Is there a method in R for
fitting a given sine function to a
2008 May 23
2
Fit a sine to data
Dear R-users,
I'd like to fit a sine function to my data. The result should have a format
(and thus the formula, too)
y ~ a + sin(x+b)
where y and x are vectors, and a and b are (yet) unknown values.
The data sets (vectors x and y) are OK, and I can do a simple lm fitting
lm(y~x), or lm(y~I(sin(2*pi*x/360))), succesfully My issue is that I'm not
able to do the optional linear shift in
2006 Feb 20
2
Write pure sine to *.ogg directly?
Hello,
I am author of a Morse code training software written
in Perl at http://starling.ws/morse
Currently I output to *.wav and, if on Unix, convert to
*.ogg. And that's okay for a trainer.
But I have desire to upgrade the project to a real-time
communication tool...or at least a Morse code audio
mail routine. And I should like to avoid *.wav.
I'd like some means of writing a pure
2009 Dec 21
0
Fwd: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
An update:
I found that the "ADD32: output is not int:" messages are caused by the enhancer. When I turn the enhancer off, the messages vanish, but the "freak out" of the codec is still there - so the problem seems not to be related to the overflow messages.
best regards,
Frank
---------- Urspr?ngliche Nachricht ----------
Von: Frank Lorenz <Frank_wtal at web.de>
An:
2010 Feb 01
1
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi Jean-Marc,
dBFS means dB relative to digital full scale. In other words: a sine value of -42 dBFS will, on a 16 bit PCM signal, swing between 131 and -131 only (16384 * 10^(-42/20))
So we are far below +/-8000.
At the moment, I'm out of ideas how to debug systematically. That even very small rounding errors alter pitch values fundamentally makes the situation worse for me, because it
2010 Dec 20
2
Sine Regression in R
Hi everyone,
I am trying to fit a sine function on one year of wind data. I have two
questions below.
Looking around on the net I managed to get the following:
Sine Equation: y = a + b * sin( c + d*x )
b is the amplitude, c is the phase shift, d is something deal with
periodicty of data*.*
This can be linearised by sin( c+dx ) = cos(c) * sin(dx) + sin(c) *
cos(dx).
If one calls dx = x1
y
2010 Jan 04
0
Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi Jean-Marc, all,
I didn't get any response to my issue up to now and would like to now if anyone can reproduce this behaviour and if there is some idea what happens. I am willing to fix this issue, but because I do not know the internals of speex, I need some advice on how to proceed...
best regards,
Frank
Frank Lorenz <Frank_wtal at web.de> hat am 21. Dezember 2009 um 10:49
2005 Jan 13
0
Problem encoding sine wave in 1.1.6 and somewhat in 1.0.4
Well I think a sinusoid shouldn't totally trash the encoder state, so
I still think theres a bug lurking around in there. The denoiser just
prevents it from ever making it to the encoder. Just from browsing
through the speex code and from what I've learned reading through the
mailing list, it looks like there are a few places where checks are in
place to prevent sinusoids from
2009 Dec 18
0
Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi,
I'm quite sure we found a bug inside the codec (1.2rc1, wideband mode). It only
occurs when speex is compiled with the FIXED_POINT flag.
I feed in a 2000 Hz sine wave (-15 dBFS). When I simulate a single frame loss
(i.e. pass a null pointer to speex_decode_int as second parameter for just one frame), the decoder
starts to freak out a second later: It produces horrible noise with 0 dBFS.
2010 Jan 15
0
FW: Re: Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Did not send this to speex-dev mailing list by error...
-----Urspr?ngliche Nachricht-----
Von: "Frank Lorenz" <Frank_wtal at web.de>
Gesendet: 14.01.10 14:03:22
An: Jean-Marc Valin <jean-marc.valin at usherbrooke.ca>
Betreff: Re: [Speex-dev] Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Hi Jean-Marc,
The codec mostly
2010 Feb 03
1
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
You mean the "real" (not the synthesized) residual? What is odd in your opinion? These glitches I mentioned or something else?
I replaced the interpolated lpc (variable "interp_lpc") with the original lpc (variable lpc) for residual generation. This makes the situation worse, so lpc interpolation seems to "smooth" the error and reduces it. I will check the
2008 Jun 10
3
fitting periodic 'sine wave' model
I have been attempting to estimate the periodic contribution of an
effect to some data but have not been able to fit a sine wave within R.
It would be nice to start by being able to fit a sine wave with an
amplitude and frequency.
x<-seq(0,20,by=0.5)
y<-2*sin(2*pi*.5*x) #amplitude =2, frequency=0.5
# This failed to converge
r<-nls(y ~ A*sin(2*pi*F*x), start=list(A = 1, F = 1),
2000 Mar 09
0
cosine and sine
Excuse me if this is has been discussed before, but,
How can I make the cos(pi/2) = 0 (instead of on my machine 6.123234e-17)
and the sin(pi) = 0 (instead of 1.224647e-16 on my machine) ?
I'd like sin(pi) == 0 to return TRUE, and is zapsmall appropriate here?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: brian.vcf
Type: text/x-vcard
Size: 411 bytes
Desc:
2008 Jun 01
1
sine wine 1.0RC1: 4th mouse button doesn't work
Hey,
since 1.0RC1 my 4th mouse button on my logitech G5 doesn't work anymore...all games that I've (BF2, Bf1942, CS:S, F.E.A.R) doesn't react when I press the 4th button...what is that for a bug?
And why it haven't been fixed already? (I don't find a bug at bugzilla for this...but I don't think that I'm the only one with that problem)
2016 Aug 02
0
OPUS encoding mono sine wave
On 02/08/16 10:59 AM, Kolesov, Alexander wrote:
> opus_demo -e audio 48000 1 2min_1kHz_Sine_16bit_48kHz.wave
> 2min_1kHz_Sine_16bit_48kHz.opus_raw
You're missing the "bitrate" argument to opus_demo... Though I'm
surprised it didn't complain about it.
Jean-Marc
2007 Oct 08
1
Sine Dialer, GNU dialer, VICIDial and others slightly OT?
Hello All,
I have a requirement to setup a predictive dialer for a customers call center.
I am asking for pros and cons of the different dialers available for
Asterisk. If you are going to send marketing material send it to my e-mail
directly please and not to the list. I was hoping to get the opinions of any
one using any of these dialers and what they liked and didn't like, ease of
2005 Jan 10
0
Problem encoding sine wave in 1.1.6 and somewhat in 1.0.4
I am currently using speex and ogg to archive voice data. The data
comes in PCM ulaw at
8kHz and I use a table look up to convert it to normal 16-bit PCM
data. Whenver the sound
coming in is voice everything works perfectly. However, we
periodically run test signals through
our system to determine link problems.. etc. This test signal totally
hoses speex during
playback, but only when you try to
2010 Feb 02
0
Fwd: Re: Fixed Point on wideband-mode: Single Frame loss on 2000 Hz sine causes "freak off"
Just had a look and the fixed-point residual *does* look odd. That's worth
investigating (though I don't think it's related to LPC stability).
Jean-Marc
Quoting Frank Lorenz <Frank_wtal at web.de>:
> Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca> hat am 1. Februar 2010 um
> 17:29 geschrieben:
>
> > Can you look at the residual signal? i.e. what it