🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #2506

Re: Research: Autocorrelation Function for Square Wave

#2506
From: Charles Metz
Date: Fri, 25 Aug 2000 00:00
19 lines
1812 bytes
Sasha Lanning wrote:
 
 > I am looking for the autocorrelation function for a specific kind of
 > square wave.    I need the autocorrelation function for a square wave 
 > with a variable duty cycle and a random phase shift along the period 
 > with amplitude -1 to 1.

The autocorrelation function you want can be obtained very easily by
integrating the product of the lagged waveform over one period.  For an
arbitrary square wave, the value of this product must be -1, 0 or +1 at
each point, so the integration task is simply one of determining the
boundaries of the interval(s) within which the integrand adopts each of
its three values.  Sketches help a lot here.

The problem you describe is a particularly simple example of
autocorrelation analysis, so I would urge you to invest some effort in
mastering it both conceptually and mathematically.

  Charles Metz
Technical Details
Message-ID: <39A6F3C9.5E4F@uchicago.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <39A6EC5E.4A02222E@newton.berkeley.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fa931,715e886cceb6c45
X-Google-Attributes: gidfa931,public
X-Google-Thread: 111b91,715e886cceb6c45
X-Google-Attributes: gid111b91,public
X-Google-Thread: f8fcc,715e886cceb6c45
X-Google-Attributes: gidf8fcc,public
X-Google-Thread: f732f,715e886cceb6c45
X-Google-Attributes: gidf732f,public
From: Charles Metz <c-metz@uchicago.edu>
Subject: Re: Research: Autocorrelation Function for Square Wave
Date: 2000/08/25
Message-ID: <39A6F3C9.5E4F@uchicago.edu>
X-Deja-AN: 662540729
Content-Transfer-Encoding: 7bit
References: <39A6EC5E.4A02222E@newton.berkeley.edu>
Content-Type: text/plain; charset=us-ascii
X-Trace: uchinews 967242641 128.135.56.76 (Fri, 25 Aug 2000 17:30:41 CDT)
Organization: The University of Chicago
MIME-Version: 1.0
NNTP-Posting-Date: Fri, 25 Aug 2000 17:30:41 CDT
Newsgroups: comp.dsp,aus.stats.s,sci.stat.edu,sci.stat.consult