<< Chapter < Page
  Digital signal processing - dsp     Page 9 / 14
Chapter >> Page >

The Fourier transform

In order to perform the spectral analysis, I will perform a Fourier transform on the time series to transform that data into the frequency domain. Then I willplot the data in the frequency domain.

(This module will not provide technical details on the Fourier transform. That information will be forthcoming in a future module.)

Keeping it simple

To keep this explanation as simple as possible, I will stipulate that all of the sinusoids contained in the time series are cosine functions. There are nosine functions in the time series.

(If the time series did contain sine functions, the process would still work, but the explanation would be more complicated.)

A brief description of the fourier transform

Before I get into the results, I will provide a very brief description of how I performed the Fourier transform for these experiments.

The following steps were performed at each frequency in a set of 400 uniformly spaced frequencies across the frequency range from zero to the foldingfrequency.

The steps were:

  • If the time series was shorter than 400 points, extend it to 400 points by appending zero-valued points at the end.
  • Select the next frequency of interest.
  • Generate a cosine function, 400 samples in length, at that frequency.
  • Multiply the cosine function by the time series.
  • Compute the average value of the time series produced by multiplying the cosine function by the time series.
  • Save the average value. Call it the real value for later reference.
  • Generate a sine function, 400 samples in length, at the same frequency.
  • Multiply the sine function by the time series.
  • Compute the average value of the time series produced by multiplying the sine function by the time series.
  • Save the average value. Call it the imaginary value for later reference.
  • Compute the square root of the sum of the squares of the real and imaginary values. This is the value of interest. Plot it.

Why does this work?

No matter how many sinusoidal components are contained in the time series, only one (if any) of those sinusoidal components will match the selected frequency.

Multiply by the cosine and average the product

When that matching component is multiplied by the cosine function having the selected frequency, the new time series created by the multiplication willconsist of a constant value plus a sinusoid whose frequency is twice the selected frequency.

The computed average value of this time series will converge on the value of the constant with the quality of the estimate depending on the number of pointsincluded in the average.

Multiply by the sine and average the product

Since the sinusoids in the time series are stipulated to be cosine functions, when the sinusoid with the matching frequency is multiplied by the sinefunction, the new time series will consist of a constant value of zero plus a sinusoid whose frequency is twice the frequency of the sine function.

The computed average of this time series will converge on zero with the quality of the estimate depending on the number of points in the average.

Questions & Answers

Ayele, K., 2003. Introductory Economics, 3rd ed., Addis Ababa.
Widad Reply
can you send the book attached ?
Ariel
?
Ariel
What is economics
Widad Reply
the study of how humans make choices under conditions of scarcity
AI-Robot
U(x,y) = (x×y)1/2 find mu of x for y
Desalegn Reply
U(x,y) = (x×y)1/2 find mu of x for y
Desalegn
what is ecnomics
Jan Reply
this is the study of how the society manages it's scarce resources
Belonwu
what is macroeconomic
John Reply
macroeconomic is the branch of economics which studies actions, scale, activities and behaviour of the aggregate economy as a whole.
husaini
etc
husaini
difference between firm and industry
husaini Reply
what's the difference between a firm and an industry
Abdul
firm is the unit which transform inputs to output where as industry contain combination of firms with similar production 😅😅
Abdulraufu
Suppose the demand function that a firm faces shifted from Qd  120 3P to Qd  90  3P and the supply function has shifted from QS  20  2P to QS 10  2P . a) Find the effect of this change on price and quantity. b) Which of the changes in demand and supply is higher?
Toofiq Reply
explain standard reason why economic is a science
innocent Reply
factors influencing supply
Petrus Reply
what is economic.
Milan Reply
scares means__________________ends resources. unlimited
Jan
economics is a science that studies human behaviour as a relationship b/w ends and scares means which have alternative uses
Jan
calculate the profit maximizing for demand and supply
Zarshad Reply
Why qualify 28 supplies
Milan
what are explicit costs
Nomsa Reply
out-of-pocket costs for a firm, for example, payments for wages and salaries, rent, or materials
AI-Robot
concepts of supply in microeconomics
David Reply
economic overview notes
Amahle Reply
identify a demand and a supply curve
Salome Reply
i don't know
Parul
there's a difference
Aryan
Demand curve shows that how supply and others conditions affect on demand of a particular thing and what percent demand increase whith increase of supply of goods
Israr
Hi Sir please how do u calculate Cross elastic demand and income elastic demand?
Abari
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Digital signal processing - dsp. OpenStax CNX. Jan 06, 2016 Download for free at https://legacy.cnx.org/content/col11642/1.38
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Digital signal processing - dsp' conversation and receive update notifications?

Ask