View the step-by-step solution to:

Question

please create a Matlab code for both 3 and 4

Screen Shot 2019-10-01</h1><p class='abPRemoveTitle'> at 5.08.20 PM.png

Screen Shot 2019-10-01 at 5.08.20 PM.png

3. Create a four rows subplot figure according to the following. Use a
range on n from -10 to 20. Also, for plotting use stem.
A. Represent (using @) the discrete time signal x[n] = exp &quot;) cos(&quot;,&quot;) u[n],
and show the plot (using stem) .
B. Plot the decimation (down-sampling) of x[n] for M=2 which is xan].
C. Plot the expansion (up-sampling) of x[n] for L=2 which is xe[n].
D. Plot the linear interpolating (up-sampling) of x[n] for L=2 which is
x, [n] .
4. For problem (3), also consider a continuous time version of the same
signal f(t) = exp (-) cos ( )ult]. Show the difference between the fe(t) = f (;)
and x [n] above. Use the (plot) command here instead of the (stem)
command for f.(t), and use stem for fin].
Use t = -10:0. 01 :40 and n=-10:40.

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question
Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes