




















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





















Consider the complex numbers
z 1 = 2 − 3 j and z 2 = −1 + 8j
(i) (2 pts.) Plot both numbers on the complex plane.
(ii) (2 pts.) Evaluate |zi| and ∠zi for both values of i (i = 1, 2).
(iii) (4 pts.) Express each of 2z 1 − z 2 and z 1 /z 2 in both Cartesian and polar form.
(iv) (3 pts.) If v = z
∗ 1 ·^ z
− 3 2 , determine^ |v|^ and^ ∠v. Also, obtain^ v^ in Cartesian form.
(v) (3 pts.) If w = z 14000 , determine ∠w in the range [0, 2 π). Your answer should be correct to
five decimal places.
(vi) (3 pts.) Determine the only real values of a and b such that
z
2
has z = 2z 1 − z 2 as a root.
(vii) (3 pts.) Without using a calculator, show that ∠z 1 and ∠(z 1 + z 2 ) differ by an integer
multiple of π/4. (Hint: Use coordinate geometry; specifically, the dot product between two vectors.)
Do not use a calculator for this problem. Express your answers using square roots and/or fractional
multiples of π.
Throughout this problem, let
u = 1 − j and v = −3 + j
(i) (2 pts.) Express each number in the form rejθ. Plot both numbers on the complex plane.
(ii) (4 pts.) Let a be a real scaling factor. Determine the exact value(s) of a such that
|u + av| =
(iii) (5 pts.) Express v
4 in polar form. Determine all the roots z of the equation
z
4 − v
4 = 0
and plot them on the complex plane.
(iv) (3 pts.) Sketch the circle described by the equation
|z − u| = 1
Determine the points of intersection (if any) of this circle and the two axes, real and imaginary.
(v) (4 pts.) Sketch the line described by the equation
|z − v| = |z|
and determine the point at which it intersects the real axis.
(vi) (2 pts.) Sketch the line or curve described by the equation
Consider the discrete-time sinusoids
x[n] = cos
5 πn
π
and y[n] = cos
10 πn
2 π
(i) (3 pts.) What is the fundamental period of each sinusoid?
(ii) (4 pts.) Use MATLAB to generate separate plots of x[n] and y[n] for n = 0,... , 111.
(iii) (3 pts.) If Nx and Ny are the two fundamental periods found in part (i), show that u[n] =
x[n] + y[n] is also periodic with period Nu = NxNy.
(iv) (3 pts.) An equivalent form for y[ · ] is
y[n] = cos (ωn + φ)
where ω is between 0 and π. What are the values of ω and φ?
(v) (2 pts.) The sequence v[ · ] is formed by taking every other sample in x[ · ], i.e.,
v[n] = x[2n]
Write an equation for v[n]. What is the period of v[ · ]?
(vi) (5 pts.) Using phasors, express
x[n] − 2 x[n − 1] + 3x[n − 2]
as a single real-valued sinusoid.
Two periods of the sinusoid x(t) = A cos(Ωt + φ) are plotted below. The value of x(0) equals
4 sin(2π/7).
0 0.01 0.02 0.03 0.04 0.05 0.
−
−
−
−
0
1
2
3
4
(i) (4 pts.) Determine A, Ω and φ. Express φ as an exact rational multiple of π in the range
[0, 2 π). (You may want to verify your answers by plotting the resulting sinusoid—it should be
identical to the one in the figure.)
In what follows: A, Ω and φ are as found in part (i) and x[n] = x(nTs), where Ts is a suitably
chosen sampling period.
(ii) (4 pts.) Using phasors, express
y(t) = x(t) + 2x(t − (π/4Ω))
as a single sinusoid.
(iii) (3 pts.) Determine all values of Ts such that x[n] is constant for all n.
(iv) (3 pts.) Determine all values of Ts such that x[n] = A cos((π/12)n + φ).
(v) (3 pts.) Determine all values of Ts such that x[n] = x[n + 4] for all n (Note: The fundamental
period of x[ · ] will equal 1, 2 or 4.)
(vi) (3 pts.) Determine all values of Ts such that x[n] = A cos((5π/6)n − φ).
Let
(^) and A
(i) (1 pt.) What are the dimensions of A?
(ii) (8 pts.) Determine the three columns a
(1) , a
(2) and a
(3) of A (and thus A itself). Hint: Sum
both sides of the last two equalities.
(iii) (4 pts.) In the usual three-dimensional Cartesian space (with orthogonal axes), consider the
plane S which contains the origin and has normal vector [ 1 1 1 ]
T
. Determine the reflection of the
point [ 1 0 0 ]
T about S. (Hint: Express [ 1 0 0 ]
T as a sum of two vectors, one parallel to [ 1 1 1 ]
T
and one orthogonal to it.)
(iv) (4 pts.) By symmetry, determine the reflections of [ 0 1 0 ]
T and [ 0 0 1 ]
T about S. Explain
why the matrix A represents a reflection of an arbitrary point (in three-dimensional space) about
S.
(v) (3 pts.) Study the function TOEPLITZ in MATLAB documentation. Give a single row vector
c such that
A = toeplitz(c)
produces the matrix A of parts (i)–(iv) above.
(i) (5 pts.) Review the concept of a rotation matrix. Show that any matrix of the form
r −s
s r
(r, s ∈ R)
represents a counterclockwise rotation on the plane, preceded or followed by scaling (the scaling
factor being nonnegative). Express the angle of rotation and the scaling factor in terms of r and s.
(ii) (5 pts.) Consider the matrix
cos(5π/24) − sin(5π/24)
sin(5π/24) cos(5π/24)
Does there exist a positive integer n such that A
n = I (where I is the 2 × 2 identity)? If so, what
is the smallest such integer? Explain.
(iii) (5 pts.) Now let
cos(3π/16) sin(3π/16)
− sin(3π/16) cos(3π/16)
Without explicitly computing matrix products, inverses, etc., determine the matrix C such that
A
2 CB
2 equals the identity matrix I.
(iv) (5 pts.) Consider the matrices
(^) and F =
What does E represent, geometrically? (The matrix F was encountered in Problem 7). Is it true
that
EF = FE?
Solve by hand without using your calculator. Show all intermediate steps.
Let
(i) (6 pts.) Solve Lx = b for an arbitrary vector b. Display L
− 1 .
(ii) (4 pts.) Express the matrix
in the form G = PLD, where P is a permutation matrix, D is a diagonal matrix and L is as given
above. Determine G
− 1 .
(iii) (6 pts.) If
and b =
12 8 1 6 c
, solve the equation Ax = b using Gaussian elimination (without row
interchanges). Here c is an arbitrary real constant.
(iv) (4 pts.) For A and L as above, show that A = LU, where U is an upper-triangular matrix.
(Hint: You know L−^1 from part (i).)
Solve by hand without using calculator matrix functions. Show all intermediate steps.
Let v
(1) = [ 3 1 1 −1 ]
T , v
(2) = [ 1 − 2 0 1 ]
T and v
(3) = [ − 1 1 5 3 ]
T .
(i) (3 pts.) Show that v
(1) , v
(2) and v
(3) are (pairwise) orthogonal, and compute their norms.
In what follows, let s = [ 1 6 2 7 ]
T .
(ii) (3 pts.) Determine the projection f (i)^ of s onto each v(i)^ (where i = 1, 2 , 3).
(iii) (2 pts.) Determine the angle between s and v
(1) .
(iv) (3 pts.) Determine the angle between s and the plane defined by v
(2) and v
(3) .
(v) (3 pts.) Determine the projection g of s onto the three-dimensional subspace defined by v
(1) ,
v
(2) and v
(3) .
(vi) (2 pts.) Verify that error vector s − g is orthogonal to each of v
(1) , v
(2) and v
(3) .
(vii) (4 pts.) Solve the system
d 1
d 2
d 3
d 4
without using Gaussian elimination. (Hint: What is the relationship between s − g and the fourth
column of the matrix above? )
Let
V =
v
(0) v
(1) v
(2) v
(3) v
(4) v
(5) v
(6) v
(7)
be the matrix of Fourier sinusoids of length N = 8.
(i) (6 pts.) If
x =
use projections to represent x in the form x = Vc. Verify that x is a linear combination of four
columns of V (only).
(ii) (6 pts.) Repeat for
y =
expressing it as y = Vd. Verify that y is a linear combination of four columns of V.
(iii) (2 pts.) Verify your results in (i) and (ii) using the FFT command in MATLAB (which will
generate the vectors 8c and 8d).
(iv) (2 pts.) Verify that the vectors x and y are orthogonal by computing their inner product.
Do your answers to (i) and (ii) above also support this conclusion?
(v) (4 pts.) If s = x + y, use your results from (i) and (ii) above to obtain the least squares
approximation ˆs of s in terms of v
(0) , v
(1) and v
(7)
. Display the entries of ˆs. Also, compute the
squared error norm ‖s − ˆs‖
2 .
All vectors have length N = 9.
(i) (4 pts.) The entries of the time-domain vector
x
are given by 2 cos ωn, where n = 0 : 8. What is the value of ω? Express x
(1) as the sum of two
Fourier sinusoids. By considering the appropriate column of the Fourier matrix V, determine and
display the DFT X
(1) .
(ii) (4 pts.) Similarly, express the time-domain vector
x
as a linear combination of the same two Fourier sinusoids as in part (i). Hence determine and
display the DFT X(2).
(iii) (4 pts.) Determine and display the DFT X
(3) of
x
(3) [n] = cos(2πn/9) + 3 cos(4πn/9) , n = 0,... , 8
(iv) (4 pts.) Determine and display the DFT X
(4) of
x
(4) [n] = sin(8πn/9) , n = 0,... , 8
(v) (4 pts.) If the time-domain vector x
(5) has DFT
18 0 9 j 27 0 0 27 − 9 j 0
write an equation for x
(5) [n], where n = 0 : 8. Your equation should be in terms of cosines and
sines.
The vector s is given by
s =
a b c d e f g h
(i) (8 pts.) Display the following vectors:
(1) = s + Rs
(2) = P
4 Rs − s
(3) = F
2 s + F
− 2 s
(4) = Ps + P
5 s
(ii) (12 pts.) Express the following vectors in terms of P, R, F and s:
h − b a − c b − d c − e d − f e − g f − h g − a
a + e b − f c + g d − h e + a f − b g + c h − d
2 b 2 c
2 d 0 −
2 f − 2 g −
2 h
MATLAB functions OSHIFT, OFLIP and FDIAG can be used for circular shifts, circular reversals and
modulation (by means of F). You may use these functions to verify your results below. Copy these
M-files to a local directory and include that directory in the MATLAB path.
Suppose the signal
s =
a b c d e f g h
of HW Problem 16 has DFT
4 1 + 2j 5 3 j − 7 − 3 j 5 1 − 2 j
Without computing any DFTs or inverse DFTs, determine (in numerical form) the DFTs of the
signal vectors s(1)^ through s(7)^ constructed in that problem.
(i) (6 pts.) Determine the circular convolution s = x ~ y of
x =
and
y =
Using the FFT function in MATLAB, verify that the DFTs X, Y and S satisfy X Y = S.
(ii) (3 pts.) Without any numerical computation, determine the circular convolution of
a =
and
b =
(iii) (6 pts.) If 2 − 2 3 − 3 5 − 1
− 1 2 − 2 3 − 3 5
5 − 1 2 − 2 3 − 3
− 3 5 − 1 2 − 2 3
3 − 3 5 − 1 2 − 2
− 2 3 − 3 5 − 1 2
c 0
c 1
c 2
c 3
c 4
c 5
explain how the vector c can be obtained using DFTs (as opposed to a conventional solution of a
6 × 6 system of equations). Implement this solution in MATLAB to obtain c.
(iv) (5 pts.) Let x and y be time domain vectors of length N such that for every n = 0,... , N − 1,
x[n] =
y[n]
If X and Y are the respective DFTs, determine the circular convolution vector X ~ Y.
The signal
x =
a b c 0 0 0 a b c 0 0 0
has DFT X given by
(i) (4 pts.) For which indices k is Dk necessarily equal to zero?
(ii) (4 pts.) If
x
a b c
express the DFT X
(1) in terms of nonzero Dk’s.
(iii) (4 pts.) If
x
a b c a b c a b c
express the DFT X
(2) in terms of nonzero Dk’s.
(iv) (4 pts.)
x
a jb −c 0 0 0 −a −jb c 0 0 0
has DFT X
(3) given by
express each E` in terms of nonzero Dk’s.
(v) (4 pts.) If the time-domain signal x
(4) has DFT
0 0 0 a b c
express the entries of x
(4) in terms of nonzero Dk’s.