Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

BME 516 Homework 1

Due in class 9/5/2019


1. (20 points) For the functions
⎛ x + 3⎞
f1 (x) = 3rect ⎜
⎝ 4 ⎟⎠
⎛ x − 2⎞
f 2 (x) = 2tri ⎜
⎝ −2 ⎟⎠
1 ⎛ x⎞
f3 (x) = comb ⎜ ⎟
4 ⎝ 4⎠
f 4 (x) = step(x − 2)
accurately sketch the following showing key amplitudes and position coordinate values

a. f1(x)
b. f2(x)
c. f3(x)
d. f4(x)
e. f1(x) f2(x)
f. f2(x) f4(x)
g. f1(x)*f1(x)
h. f1(x)*f2(x)
i. f2(x)*f3(x)
j. f4(x)*f4(x)

2. (10 points) The function sgn(x) is defined as:


⎧ −1 x<0

sgn(x) = ⎨ 0 x=0
⎪ 1 x>0

a. Show a plot of A sgn(x-x0), where A=5 and x0=4.
b. Show also a plot of 5 sgn((x-4)/-2).
c. Show a plot of sgn(x) convolved with rect(x/b).

3. (10 points) Complex numbers and exponential forms:


a. For the complex number z1 = 5 + i12, convert it to the polar exponential form r ei θ. Be
explicit in providing values for r and θ (in radians).
b. For the complex number z2 = -3 - i4, convert it to the polar exponential form r ei θ.
c. Use the rectilinear form z = x + iy to determine the sum (z1 + z2), difference (z1 - z2),
product (z1 x z2), and division (z1/ z2) of the two numbers?
d. Use the polar form z = r ei θ to calculate the product and division of these two complex
numbers. Show that you get the same result independent of the form of the numbers.
4. (10 points) In lectures, the definitions of linear operators and a shift invariant operators were
d
{
discussed. Show that for a function f(x), the operator O f (x) = } dx
{ f (x)} is a linear and
shift invariant operator.

5. (10 points) The function f(x,y)=rect(x)rect(y) is a separable function. Consider a rotated


coordinate system (x’,y’) defined by the coordinate transformation

⎛ x ' ⎞ ⎛ cosθ sin θ ⎞ ⎛ x ⎞


⎜ ⎟ =⎜ ⎟⎜ ⎟.
⎝ y ' ⎠ ⎝ − sin θ cosθ ⎠ ⎝ y ⎠
The inverse relationship between (x,y) and (x’,y’) is given by a rotation of –theta, i.e.
⎛ x ⎞ ⎛ cosθ sin− θ ⎞ ⎛ x ' ⎞ ⎛ cosθ − sin θ ⎞ ⎛ x ' ⎞
⎜ ⎟ =⎜ ⎟⎜ ⎟ =⎜ ⎟⎜ ⎟
⎝ y ⎠ ⎝ − sin− θ cosθ ⎠ ⎝ y ' ⎠ ⎝ sin θ cosθ ⎠ ⎝ y ' ⎠
What is the function f(x’,y’) (i.e. the same object f(x,y)=rect(x)rect(y) but now described in the
(x’,y’ coordinate system)? Is this still a separable function?

You might also like