# Question: g1t cos40pit g2t cos60pit g3t cos160pit a...

###### Question details

g1(t) = cos(40*pi*t);

g2(t) = cos(60*pi*t);

g3(t) = cos(160*pi*t);

a. Using a sampling period of 1.0 ms to simulate the
continuous-time signal, in Matlab

generate and plot the analog signal described in Problem 2 Part (a)
over the interval

0 ≤ t ≤ 300ms, and overlay the plotted signal with the equivalents
of its sampled versions.

Denote the latter with different symbols (e.g., open circles,
diamonds, etc).

b. Repeat for g2 (t) and g3 (t) described in Problem 2 on separate
graphs, and overlay each

with their respective sampled counterparts.

c. On the same graph, plot g1 (t) , g2 (t) and g3 (t) , and overlay
them with discrete versions

sampled at sampling frequencies that make the discrete signals
identical.