<< Chapter < Page Chapter >> Page >

Discrete-time real and complex valued sinusoidal signals are an incredibly important signal class in the study of discrete-time signals and systems. Of course, sinusoidal waves show up in all sorts of science and engineering applications, but they are particularly relevant for signal processing because they are the foundation of Fourier analysis.

Real valued sinusoids

There are two real-valued discrete-time sinusoidal wave signals: the sine wave signal and the cosine wave signal. They are represented mathematically as $\sin(\omega n +\phi)$ and $\cos(\omega n +\phi)$. Let's take a look a those in more detail. First, as we have seen with other discrete-time signals, $n$ is the independent variable time index, and it runs from negative infinity to infinity. The variable $\omega$ is known as the frequency of the sinusoidal signal, and we will see how changing the value of $\omega$ impacts the rate of the signal's oscillation. The variable $\phi$ is the phase of the signal, and changing it will shift the signal left along the time axis. Finally, the terms $\sin$ or $\cos$ return the corresponding trigonometric value to $\omega n +\phi$ for each value of the time index $n$. Here are a few examples of real sinusoidal waves:
Image Image Image Image
(a) A plot of $\cos(0n)$. At every point in time, this signal takes the value $\cos(0)=1$. (b) A plot of $\sin(0n)$. At every point in time, this signal takes the value $\sin(0)=0$. (c) A plot of $\sin(\frac{\pi}{4}n+\frac{2\pi}{6})$. (d) A plot of $\cos(\pi n)$. Note how when $\omega=\pi$, as in this example, the signal is oscillating as rapidly as possible, between -1 and 1 at every single time instance. This phenomenon is the opposite of when $\omega=0$, for which the signal does not oscillate at all. So in some sense we can see that $0$ is the lowest possible frequency $\omega$, and $\pi$ is the highest.
We saw in the figure above how the frequency $\omega$ influences the rate of the wave's oscillation. The other variable in the signal, the phase $\phi$, can shift the wave backwards and forwards along the time axis, without affecting the frequency. Below are plots of a cosine wave which all have the same frequency, but with a variety of phase shifts (i.e., different values of $\phi$):
Image
$\cos\left(\frac{\pi}{6}n-0\right)$.
Image
$\cos\left(\frac{\pi}{6}n-\frac{\pi}{4}\right)$.
Image
$\cos\left(\frac{\pi}{6}n-\frac{\pi}{2}\right) = \sin\left(\frac{\pi}{6}n\right)$.
Image
$\cos\left(\frac{\pi}{6}n-2\pi\right) = \cos\left(\frac{\pi}{6}n\right)$.
Four cosine waves with the same frequency, but different phases. Note how a phase shift of $\frac{\pi}{2}$ shifts the cosine to be a sine wave, and a phase shift of $2\pi$ shifts it all the way over to where it was without any phase shift (because the cosine is periodic for this frequency).

Complex valued sinusoids

So we have reviewed the real sine waves $\sin$ and $\cos$, and perhaps seeing them in proximity brought to mind a very special relationship called Euler's Formula : $e^{j\theta}=\cos(\theta)+j\sin(\theta)$ (you may remember this from math class with an $i$ instead, but recall engineers use that letter for current, and we call the imaginary number $j$). That formula works for any particular value of $\theta$, so of course it applies when we consider $\omega n+\phi$, as above, which gives us a complex valued sinusoid: $e^{j(\omega n +\phi)}=\cos(\omega n +\phi)+j\sin(\omega n +\phi)$. Let's look at some plots of complex sinusoids. Unlike two-dimensional real sinusoids (which have an one-dimensional independent time variable $n$ and a take a one-dimensional value at each time value), complex sinusoids are three dimensional: they have the time dimension, a real dimension, and an imaginary dimension. So they can be visualized as a three dimensional helix in space:
Image
A three dimensional visualization of a complex sinusoid. Note that this image is continuous-valued, whereas a discrete valued version would actually appear as points along the line.
If you were to look at this helix from directly above, you would see only the real portion of the helix, and it would appear to be a cosine wave. If you looked at it from the side, you would see the imaginary aspect of it, as a sine wave. The frequency variable $\omega$ controls how quickly the helix rotates across time $n$, and also the direction: positive values cause it to rotate in the counterclockwise manner shown, and negative values would result in it rotating clockwise.

While it is illuminating to visualize complex simusiods in three dimensions, in practice it is actually most common to view them in two, separately plotting either the real and the imaginary parts with respect to time, or the magnitude and phase across time:

Image
The magnitude of a complex sinusoid.
Image
The phase, or angle, of a complex sinusoid.
A complex sinusoid plotted according to its magnitude and phase. Note that the magnitude of a single complex sinusoid is trivial, as $|e^{j(\omega n +\phi)}|=1$.
Image
The real part of a complex sinusoid.
Image
The imaginary part of a complex sinusoid.
A complex sinusoid plotted according to its real and imaginary parts. These are a cosine, and sine, respectively, which follows from Euler's Formula.
We'll wrap up our introduction of sinusoids by briefly considering the concept of negative-valued frequencies. It is easiest to see the difference a negative frequency makes, compared to a positive frequency of the same magnitude, by expressing it all mathematically: $e^{j (-\omega) n} ~=~ e^{-j\omega n} ~=~ \cos(-\omega n) + j \sin(-\omega n) ~=~ \cos(\omega n) - j \sin(\omega n)$So negating the frequency of a complex sinusoid has no effect on the real part of the signal (the cosine), but it flips the sign of the imaginary part (the sine). This operation (preserving the real part, but changing the sign of the imaginary part) is also known as taking the complex conjugate of the signal. So negating the frequency of a complex sinusoid is the same thing as taking the complex conjugate of it:$e^{j (-\omega) n} ~=~ e^{-j \omega n}~=~ \left( e^{j \omega n} \right)^*$.

Why use imaginary numbers?

Now perhaps you are wondering the point of using imaginary numbers. After all, aren't all real world signals, well, real-valued? They are indeed, but we can consider them as the real-part of a complex-valued signal. And why go to that trouble? There are many good reasons, but here is one to start with: exponential functions are much easier to work with than trigonometric functions. You can easily simplify $e^{a} e^{b}$ into a single term, but you very likely would be turning to a table to simplify $\sin(a)\cos(b)$, wouldn't you?

Questions & Answers

A golfer on a fairway is 70 m away from the green, which sits below the level of the fairway by 20 m. If the golfer hits the ball at an angle of 40° with an initial speed of 20 m/s, how close to the green does she come?
Aislinn Reply
cm
tijani
what is titration
John Reply
what is physics
Siyaka Reply
A mouse of mass 200 g falls 100 m down a vertical mine shaft and lands at the bottom with a speed of 8.0 m/s. During its fall, how much work is done on the mouse by air resistance
Jude Reply
Can you compute that for me. Ty
Jude
what is the dimension formula of energy?
David Reply
what is viscosity?
David
what is inorganic
emma Reply
what is chemistry
Youesf Reply
what is inorganic
emma
Chemistry is a branch of science that deals with the study of matter,it composition,it structure and the changes it undergoes
Adjei
please, I'm a physics student and I need help in physics
Adjanou
chemistry could also be understood like the sexual attraction/repulsion of the male and female elements. the reaction varies depending on the energy differences of each given gender. + masculine -female.
Pedro
A ball is thrown straight up.it passes a 2.0m high window 7.50 m off the ground on it path up and takes 1.30 s to go past the window.what was the ball initial velocity
Krampah Reply
2. A sled plus passenger with total mass 50 kg is pulled 20 m across the snow (0.20) at constant velocity by a force directed 25° above the horizontal. Calculate (a) the work of the applied force, (b) the work of friction, and (c) the total work.
Sahid Reply
you have been hired as an espert witness in a court case involving an automobile accident. the accident involved car A of mass 1500kg which crashed into stationary car B of mass 1100kg. the driver of car A applied his brakes 15 m before he skidded and crashed into car B. after the collision, car A s
Samuel Reply
can someone explain to me, an ignorant high school student, why the trend of the graph doesn't follow the fact that the higher frequency a sound wave is, the more power it is, hence, making me think the phons output would follow this general trend?
Joseph Reply
Nevermind i just realied that the graph is the phons output for a person with normal hearing and not just the phons output of the sound waves power, I should read the entire thing next time
Joseph
Follow up question, does anyone know where I can find a graph that accuretly depicts the actual relative "power" output of sound over its frequency instead of just humans hearing
Joseph
"Generation of electrical energy from sound energy | IEEE Conference Publication | IEEE Xplore" ***ieeexplore.ieee.org/document/7150687?reload=true
Ryan
what's motion
Maurice Reply
what are the types of wave
Maurice
answer
Magreth
progressive wave
Magreth
hello friend how are you
Muhammad Reply
fine, how about you?
Mohammed
hi
Mujahid
A string is 3.00 m long with a mass of 5.00 g. The string is held taut with a tension of 500.00 N applied to the string. A pulse is sent down the string. How long does it take the pulse to travel the 3.00 m of the string?
yasuo Reply
Who can show me the full solution in this problem?
Reofrir 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, Discrete-time signals and systems. OpenStax CNX. Oct 07, 2015 Download for free at https://legacy.cnx.org/content/col11868/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Discrete-time signals and systems' conversation and receive update notifications?

Ask