help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Convolving a non-uniformly sampled signal with a Gaussian


From: Søren Hauberg
Subject: Re: Convolving a non-uniformly sampled signal with a Gaussian
Date: Fri, 08 Jul 2005 17:46:43 +0200
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

Hi
Thanks for all your answers (everybody). Perhaps I should have chosen my words more carefully. I'm not really interested in the convolution of my non-uniformly sampled signal with a Gaussian, I am simply interested in a wighted sum of segments of the data (not having english as my first language is given me some trouble here, so I'll stop my "explanation" here).

The original function that created the sample isn't continuos and making that assumption anyway would surely break my application.

Anyway, it seems like I'll have to implement what I want from scratch (I don't think it's that big a deal).

But thanks for all your help,
Søren

Robert A. Macy wrote:
I'm going to guess...

You *have* to make a uniform distribution along the
function in order for the integration of the convolution to
work properly.
When there was no alternative to "gsplot"ing an array that
had nonuniform steps (similar to your problem) and I had to
convert to uniform steps; I wrote a simple program for
uniform interpolation.  I'll send it to you separately due
to size.  [Lot's of boiler plate for error checking]

         - Robert -

On Thu, 07 Jul 2005 15:43:22 +0200
 Søren Hauberg <address@hidden> wrote:

Hi
I have a signal that I need to convolve with a Gaussian
(or another similar filter). The problem is that the
signal is not uniformly sampled, meaning I can't use conv
directly. My first thought was to interpolate the signal,
perform convolution, and then resample, but I don't want
to do this as the function that generated isn't
continuos.

Does anybody know a easy way to do this, or do I have to
implement this from scratch.

/Søren





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]