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

The spectral analysis output

The output produced by performing spectral analysis on these five sinusoids is shown in Figure 9 . The computation and display of this spectral analysis was performed using the programs named Dsp028 and Graph03 . (Note that the parameters in the text boxes at the bottom were used to alter the appearance of the plots.)

Figure 9. Spectral analysis of five sinusoids.
missing image

The format explained

Five separate spectral analyses were performed and the results of those five spectral analyses are shown in Figure 9 . Each of the horizontal lines in Figure 9 is the horizontal axis used to display the result of performing a spectral analysis on a different sinusoid. In other words, Figure 9 contains five separate graphs moving from the top to the bottom of the display. The individualgraphs have alternating white and gray backgrounds to make them easier to separate visually.

The top graph in Figure 9 shows the result of performing a spectral analysis on the top sinusoid in Figure 3 . Moving down the page, each graph in Figure 9 shows the result of performing a spectral analysis on the corresponding sinusoidin Figure 3 .

The frequency axes

The horizontal axes in Figure 9 represent the frequency range from zero to the sampling frequency.

(The frequency range covered is specified by the Lower frequency bound and the Upper frequency bound parameters in Figure 8 .)

The horizontal units

The horizontal units in Figure 9 don't represent frequency in an absolute sense of cycles per second or Hertz. Rather, the horizontal units in Figure 9 represent the frequency bins for which spectral energy was computed. In thiscase, the spectral energy for each sinusoid was computed in 400 equally spaced bins distributed between zero and the sampling frequency.

(The number of frequency bins for each individual spectrum computed by this program is equal to the Data length parameter in Figure 8 . Those frequency bins are distributed uniformly between the Lower frequency bound and the Upper frequency bound parameters in Figure 8 .)

Location of the folding frequency

Because the right-most end of each horizontal axis in Figure 9 represents the sampling frequency, the center of each horizontal axis represents one-half thesampling frequency, or the Nyquist folding frequency. Thus, the frequency represented by the center of each horizontal axis represents the frequencyspecified by a value of 0.5 in Figure 8 .

A peak at the folding frequency

You can see a large peak in energy at the folding frequency of the bottom graph in Figure 9 . That peak corresponds to the frequency of the fifth sinusoid specified in the parameters shown in Figure 8 . (This also corresponds to the spectrum of the bottom graph in Figure 3 .)

Knowing that, you should be able to correlate each of the peaks to the left of center in Figure 9 with the frequencies of the sinusoids specified in Figure 8 and with the individual sinusoids plotted in Figure 3 .

The frequency folding effect

Figure 9 clearly shows the frequency folding effect of the sampling process illustrated earlier. As you can see, the peaks in the various graphs to theright of the folding frequency are mirror images of the peaks to the left of the folding frequency. In other words, given a set of samples of a sinusoid, thespectral analysis process is unable to determine whether the peak is above or below the folding frequency, so the energy is equally distributed between twopeaks on opposite sides of the folding frequency.

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