# 2.2 Dsp00108-averaging time series  (Page 10/14)

 Page 10 / 14

(As mentioned earlier, this process would work even if the time series contained sinusoids other than cosine functions. However, the explanationwould be more complicated.)

## What about the other sinusoidal components?

Every other sinusoidal component in the time series (whose frequency doesn't match the selected frequency), will produce a new time series containing two sinusoids when multiplied by the sine function or the cosinefunction.

The frequency of one of the sinusoids in the new time series will be the sum of the frequencies of the sinusoidal component and the sine or cosine function.The frequency of the other sinusoid will be the difference in the frequencies between the sinusoidal component and the sine or cosine function.

As you saw earlier, when this difference is very small, the frequency of the new sinusoid will be very near to zero.

## The average value for non-matching components

Ideally, the average value of the product should be zero when the frequency of the original sinusoidal component is different from the sine or cosinefunction by which it is multiplied. The computed average of this time series will converge on zero with the quality of the estimate depending on the numberof points in the average.

## Measurement error

However, (and this is very important), when the frequency of the original sinusoid is very close to the frequency of the sine or cosine function,the convergence on zero will be poor even for a large number of points in the average.

Thus, the computation at those frequencies very near to the frequency of an actual sinusoidal component in the raw data will produce a non-zeroaverage value even when there is no sinusoidal component in the raw data at those frequencies. This is a form of measurement error.

## Let's see some data

With that as a preface, lets look at some graphs ( Figure 10 and Figure 11 ) resulting from spectral analyses. (These two figures show two different views of the same data.)

Figure 10. Spectra of five different sinusoids of different lengths. ## Five sinusoids, same frequency, different lengths

Figure 10 shows the individual spectra computed for five different sinusoids, each having the same frequency, but different lengths. The combination ofsampling rate and frequency was such that each sinusoid had 32 samples per cycle.

Starting at the top in Figure 10 , the lengths of the five sinusoids were 80, 160, 240, 320, and 400 samples. (The lengths of the five sinusoids were multiples of 80 samples.)

## Extend to 400 samples for computation

As mentioned earlier, for the cases where the actual length of the sinusoid was less than 400 samples, the length was extended to 400 samples by appendingan appropriate number of samples having zero values.

(This made it easy to compute and plot the spectrum for every sinusoid over the same frequency range with the same number of points in each plot.)

The spectrum was computed and plotted for each sinusoid at 400 individual frequency points between zero and the folding frequency.

## The actual averaging window

Even though the Fourier transform program averaged across 400 samples in all cases, the effective averaging length was equal to the length of the sinusoid. All product points outside that length had a value of zero andcontributed nothing to the average one way or the other.

who are u?
Lamine
haha
Cleaford
scarm
nura
what it this
Cleaford
hi y'all
Dope
how does group chat help y'all 🤔
Dope
hi y'all
Dope
how does group chat help y'all 🤔
Dope
how does group chat help y'all 🤔
Dope
to learn from one another
Lamine
oh okay
Dope
😟
Creative
Yes
Lamine
what is type of economic
how to understand basics of economics
what is demand schedle
When you make a Scedule of the demand you made
Rodeen
What is macroeconomics
It's one of the two branches of Economics that deal with the aggregate economy.
Mayen
it's about inflation, occupation, gdp and so on
alberto
What is differences between Microeconomics and Macroeconomic?
Bethrand
a price floor of 24 imposed
monopolistic competition
yap
nura
any one there to answer my question
Fixed Costs per week Variable Costs per bear Rent & Rates of Factory Hire & machines Heating & Lighting Repayment of Bank Loan K100.00 K45.00 K5.00 K50.00 Materials Foam Wages K6.00 K1.00 K1.00 Total K200.00 K8.00
Richard
one of the scarce resources that constrain our behaviour is time. each of us has only 24 hours in a day. how do you go about allocating your time in a given day among completing alternatives? once you choose a most important use of time. why do you not spend all your time to it. use the notion of op
mohsina mala..Bangla app hobe na
mani Baba. First learn the spelling of Economics
Economics- The study of how people use their limited resources to tey and satisfy unlimited wants.
Kelly
hmmm
Mani
etar bangla apps hobe na?
Mohsina
what is defination of acnomics
বাংলা বই পাওয়া যায় না?
what is a commdity
Difference between extinct and extici spicies
Got questions? Join the online conversation and get instant answers! By Joli Julianna By David Bourgeois By Brooke Delaney By Sam Luong By Brianna Beck By Edgar Delgado By OpenStax By Brooke Delaney By Richley Crapo By Rohini Ajay