1. Run this m-file. %program for signal convolution t=0:0.1:10; x1=sin (2*pi*t); h1=cos (2*pi*t); y1=conv (x1,h1); figure; subplot(3,1,1); plot(x1); xlabel('t'); ylabel('x(t)'); title('input signal') subplot(3,1,2); plot (h1); xlabel('t'); ylabel('h(t)'); title('impulse response') subplot(3,1,3); plot (yl); xlabel ('n'); ylabel('y(n)'); title('linear convolution'); input signal wwww 20 40 60 80 100 120 impulse response 20 40 60 80 100 120 linear convolution 50 50 100 150 200 250 2. Based on above matlab code, do a convolution for x(t) = e=2tu(t) and h(t) = (2e-3t – e-2t)u(t).
1. Run this m-file. %program for signal convolution t=0:0.1:10; x1=sin (2*pi*t); h1=cos (2*pi*t); y1=conv (x1,h1); figure; subplot(3,1,1); plot(x1); xlabel('t'); ylabel('x(t)'); title('input signal') subplot(3,1,2); plot (h1); xlabel('t'); ylabel('h(t)'); title('impulse response') subplot(3,1,3); plot (yl); xlabel ('n'); ylabel('y(n)'); title('linear convolution'); input signal wwww 20 40 60 80 100 120 impulse response 20 40 60 80 100 120 linear convolution 50 50 100 150 200 250 2. Based on above matlab code, do a convolution for x(t) = e=2tu(t) and h(t) = (2e-3t – e-2t)u(t).
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter9: Completing The Basics
Section9.3: The String Class
Problem 7E
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 4 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning