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

Although it wasn't apparent in Figure 7 , Figure 9 shows that the real part of the spectrum takes on the shape of a cosine wave, while the imaginary part ofthe spectrum takes on the shape of a sine wave as a result of the time delay of the impulse.

The phase shift is still linear across frequency as would be expected, but the slope is now five times greater than the slope of the phase shift in Figure 7 .

(Note that the time delay is five times greater in Figure 9 . Note also that the plot of the phase angle wraps around from +180 degrees to -180degrees each time the phase angle reaches +180 degrees. This produces the saw tooth effect shown in the bottom plot in Figure 9 .)

A boxcar pulse

If an impulse is the simplest kind of pulse to generate digitally, a boxcar pulse is probably the next simplest. A "boxcar" pulse is one where severaladjacent samples have the same non-zero value. Let's examine the case for an eleven-sample boxcar pulse. The new parameters for this case are shown in Figure 10 .

Figure 10. A boxcar pulse.
Parameters read from file Data length: 400Pulse length: 11 Sample for zero time: 0Lower frequency bound: 0.0 Upper frequency bound: 0.5Pulse Values 40.040.0 40.040.0 40.040.0 40.040.0 40.040.0 40.0

The spectral analysis output for the boxcar pulse

The spectral analysis output for the eleven-sample boxcar pulse is shown in Figure 11 .

Figure 11. Spectral analysis of 11-sample boxcar pulse.
missing image

The pulse itself is relatively easy to see on the leftmost end of the top plot.

The amplitude spectrum

The amplitude spectrum is no longer flat. Rather it has a peak at zero frequency and goes to zero between frequency sample 72 and frequency sample 73.

Without getting into the technical details, I will simply tell you that the location of the point where it goes to zero is related to the reciprocal of thepulse width. If that sounds familiar, it is because we encountered similar situations involving bandwidth in the module titled Spectrum Analysis using Java, Frequency Resolution versus Data Length .

In fact, the shape of the amplitude spectrum is a familiar (sin x)/x curve with the negative lobes flipped up and turned into positive lobes instead.

The phase angle is still linear with frequency although it now shows some discontinuities at those frequencies where the amplitude spectrum touches zero.

The magic of non real-time digital processing

When working with (recorded non real-time) digital time series, it is not only possible to physically shift pulses forward or backward in time, itis also possible to leave the pulses where they are and redefine the underlying time base. For the next experiment, I will leave everything else the same andredefine the location of the origin of time. I will place the time origin at themiddle of the boxcar pulse.

The new parameters for this experiment are shown in Figure 12 . Note that the only significant difference between Figure 12 and Figure 10 is the redefinition of the sample that represents zero time. I redefined the time origin from sample0 to sample 5. This causes the boxcar pulse to be centered on zero time. Five of the samples in the boxcar pulse occur in negative (history) time. One sample occurs exactly at zero time. The other five samples occur in positive (future) time .

Questions & Answers

prostaglandin and fever
Maha Reply
Discuss the differences between taste and flavor, including how other sensory inputs contribute to our  perception of flavor.
John Reply
taste refers to your understanding of the flavor . while flavor one The other hand is refers to sort of just a blend things.
Faith
While taste primarily relies on our taste buds, flavor involves a complex interplay between taste and aroma
Kamara
which drugs can we use for ulcers
Ummi Reply
omeprazole
Kamara
what
Renee
what is this
Renee
is a drug
Kamara
of anti-ulcer
Kamara
Omeprazole Cimetidine / Tagament For the complicated once ulcer - kit
Patrick
what is the function of lymphatic system
Nency Reply
Not really sure
Eli
to drain extracellular fluid all over the body.
asegid
The lymphatic system plays several crucial roles in the human body, functioning as a key component of the immune system and contributing to the maintenance of fluid balance. Its main functions include: 1. Immune Response: The lymphatic system produces and transports lymphocytes, which are a type of
asegid
to transport fluids fats proteins and lymphocytes to the blood stream as lymph
Adama
what is anatomy
Oyindarmola Reply
Anatomy is the identification and description of the structures of living things
Kamara
what's the difference between anatomy and physiology
Oyerinde Reply
Anatomy is the study of the structure of the body, while physiology is the study of the function of the body. Anatomy looks at the body's organs and systems, while physiology looks at how those organs and systems work together to keep the body functioning.
AI-Robot
what is enzymes all about?
Mohammed Reply
Enzymes are proteins that help speed up chemical reactions in our bodies. Enzymes are essential for digestion, liver function and much more. Too much or too little of a certain enzyme can cause health problems
Kamara
yes
Prince
how does the stomach protect itself from the damaging effects of HCl
Wulku Reply
little girl okay how does the stomach protect itself from the damaging effect of HCL
Wulku
it is because of the enzyme that the stomach produce that help the stomach from the damaging effect of HCL
Kamara
function of digestive system
Ali Reply
function of digestive
Ali
the diagram of the lungs
Adaeze Reply
what is the normal body temperature
Diya Reply
37 degrees selcius
Xolo
37°c
Stephanie
please why 37 degree selcius normal temperature
Mark
36.5
Simon
37°c
Iyogho
the normal temperature is 37°c or 98.6 °Fahrenheit is important for maintaining the homeostasis in the body the body regular this temperature through the process called thermoregulation which involves brain skin muscle and other organ working together to maintain stable internal temperature
Stephanie
37A c
Wulku
what is anaemia
Diya Reply
anaemia is the decrease in RBC count hemoglobin count and PVC count
Eniola
what is the pH of the vagina
Diya Reply
how does Lysin attack pathogens
Diya
acid
Mary
I information on anatomy position and digestive system and there enzyme
Elisha Reply
anatomy of the female external genitalia
Muhammad Reply
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