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

Size of the peak at the folding frequency

Note that the peak in the bottom graph is approximately twice the height of the peaks in the other graphs. This is because the peak at the folding frequencyhas no mirror-image partner, and all the energy is concentrated in that single peak.

(Another interpretation is that two mirror-image peaks converge at the folding frequency causing the resulting peak to be twice as large aseither mirror-image peak. I will illustrate this effect with another example later.)

A short fat peak at the top

You may also have noticed that the peaks in the top graph are shorter and wider than the peaks in the other graphs. This may be because the actualfrequency of the sinusoid for the top graph is about half way between the values of the twelfth and thirteenth bins for which spectral energy was computed. Thus,the energy in the sinusoid was spread between the bins on either side of the actual frequency.

This frequency spreading effect can be minimized by increasing the data length to 800 samples. This causes the frequency bins to be only half as wideand the peak in the top graph becomes tall and narrow just like the peaks in the other graphs. You should try this and observe the result when you run theprogram later.

It is also instructive to plot these spectra with a data length of 400 using the program named Graph06 . This will show you how the energy is distributed between the frequency bins. This is most effective when the graph isexpanded as described in the next section.

Mapping the peaks to pixels

The broadening of the peak in the top graph may also have to do with the requirement to map the peaks in the spectrum to the locations of the actualpixels on the screen. If the location of the peak falls between the positions of two pixels, the plotting program must interpolate the energy in the peak so asto display that energy in actual pixel locations.

This effect can be minimized by plotting the same number of spectral values across a wider area of the screen. When you run this program later, click themaximize button on the Frame to cause the display to occupy the entire screen. That will give you a much better look at the actual shape of eachof the peaks. Do this using both Graph03 and Graph06 to plot the results.

(Note: When switching between the plotting programs, you may need to delete the class files from the old program and compile the new program toavoid having class files with the same names from the two programs becoming intermingled in the same directory.)

Another DFT example

This next example is designed to illustrate the following features of the DFT algorithm which don't generally apply to an FFT algorithm:

  • Ability to do spectral analysis on data of arbitrary lengths. (With many FFT algorithms, the data length must be a power of two.)
  • Ability to zero in on an arbitrary range of frequencies and to ignore all other frequencies. (Most FFT algorithms always compute the spectrum at uniform frequency increments from zero to one unit less than the samplingfrequency.)

Questions & Answers

how does Neisseria cause meningitis
Nyibol Reply
what is microbiologist
Muhammad Reply
what is errata
Muhammad
is the branch of biology that deals with the study of microorganisms.
Ntefuni Reply
What is microbiology
Mercy Reply
studies of microbes
Louisiaste
when we takee the specimen which lumbar,spin,
Ziyad Reply
How bacteria create energy to survive?
Muhamad Reply
Bacteria doesn't produce energy they are dependent upon their substrate in case of lack of nutrients they are able to make spores which helps them to sustain in harsh environments
_Adnan
But not all bacteria make spores, l mean Eukaryotic cells have Mitochondria which acts as powerhouse for them, since bacteria don't have it, what is the substitution for it?
Muhamad
they make spores
Louisiaste
what is sporadic nd endemic, epidemic
Aminu Reply
the significance of food webs for disease transmission
Abreham
food webs brings about an infection as an individual depends on number of diseased foods or carriers dully.
Mark
explain assimilatory nitrate reduction
Esinniobiwa Reply
Assimilatory nitrate reduction is a process that occurs in some microorganisms, such as bacteria and archaea, in which nitrate (NO3-) is reduced to nitrite (NO2-), and then further reduced to ammonia (NH3).
Elkana
This process is called assimilatory nitrate reduction because the nitrogen that is produced is incorporated in the cells of microorganisms where it can be used in the synthesis of amino acids and other nitrogen products
Elkana
Examples of thermophilic organisms
Shu Reply
Give Examples of thermophilic organisms
Shu
advantages of normal Flora to the host
Micheal Reply
Prevent foreign microbes to the host
Abubakar
they provide healthier benefits to their hosts
ayesha
They are friends to host only when Host immune system is strong and become enemies when the host immune system is weakened . very bad relationship!
Mark
what is cell
faisal Reply
cell is the smallest unit of life
Fauziya
cell is the smallest unit of life
Akanni
ok
Innocent
cell is the structural and functional unit of life
Hasan
is the fundamental units of Life
Musa
what are emergency diseases
Micheal Reply
There are nothing like emergency disease but there are some common medical emergency which can occur simultaneously like Bleeding,heart attack,Breathing difficulties,severe pain heart stock.Hope you will get my point .Have a nice day ❣️
_Adnan
define infection ,prevention and control
Innocent
I think infection prevention and control is the avoidance of all things we do that gives out break of infections and promotion of health practices that promote life
Lubega
Heyy Lubega hussein where are u from?
_Adnan
en français
Adama
which site have a normal flora
ESTHER Reply
Many sites of the body have it Skin Nasal cavity Oral cavity Gastro intestinal tract
Safaa
skin
Asiina
skin,Oral,Nasal,GIt
Sadik
How can Commensal can Bacteria change into pathogen?
Sadik
How can Commensal Bacteria change into pathogen?
Sadik
all
Tesfaye
by fussion
Asiina
what are the advantages of normal Flora to the host
Micheal
what are the ways of control and prevention of nosocomial infection in the hospital
Micheal
what is inflammation
Shelly Reply
part of a tissue or an organ being wounded or bruised.
Wilfred
what term is used to name and classify microorganisms?
Micheal Reply
Binomial nomenclature
adeolu
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