Matlab code:
clc;
clear all;
close all;
syms t tau;
x = 3*(heaviside(t-2)-heaviside(t-5))
h = t*exp(-2*t)*(heaviside(t)-heaviside(t-4))
y=int(subs(x,tau)*subs(h,t-tau),tau,0,t)
figure(1);
ezplot(x,[0,10]);
title('Input signal for LTI system');
xlabel('t')
ylabel('x(t)')
grid;
figure(2);
ezplot(h);
title('LTI System impulse response');
xlabel('t')
ylabel('h(t)')
grid;
figure(3);
ezplot(y),grid;
title('output y(t)')
output:
x =
3*heaviside(t - 2) - 3*heaviside(t - 5)
h =
-t*exp(-2*t)*(heaviside(t - 4) - heaviside(t))
y =
heaviside(t - 9)*((27*exp(-8))/4 + (27*exp(10 - 2*t))/4 -
(3*t*exp(10 - 2*t))/2) - heaviside(t - 6)*((27*exp(-8))/4 +
(9*exp(4 - 2*t))/4 - (3*t*exp(4 - 2*t))/2) + heaviside(t -
2)*((9*exp(4 - 2*t))/4 - (3*t*exp(4 - 2*t))/2 + 3/4) - heaviside(t
- 5)*((27*exp(10 - 2*t))/4 - (3*t*exp(10 - 2*t))/2 + 3/4)
Question 3) Given a system with an impulse response of: h(t) = te-2t(U(t)-U(t-4)). Use MATLAB to ...
The unit impulse response and the input to an LTI system are given by: h(t) u(t) - u(t - 4) x(t) e2[u(t)-u(t - 4)] x(t) 1 y(t) h(t) 1. Determine the output signal, i.e.y(t), you may use any method. 2. Is this system memoryless? Why? 3. Is this system causal? Why? 4. Is this system BIBO stable? Why?
3. (20 points) A system has an impulse response given by h (t) sin (2t) rt (a) Find the frequency response function of this system H (w). (b) Find the frequency domain output Y (w) if the input to the system is z (t) cos (3t).
Given a zero-state LTI system whose impulse response h(t) = u(t) u(t-2), if the input of the system is r(t), find the system equation which relates the input to the output y(t) 4. (20 points) If a causal signal's s-domain representation is given as X (s) = (s+ 2)(s2 +2s + 5) (a) find all the poles and zero of the function. 2 1 52243 orr
A CT LTI system with impulse response h(t) = u(t)−u(t−1) is given the input x(t) = (1 − |t|)(u(t + 1) − u(t − 1)). Find the output of the system.
4. The impulse response of a system is given by h[n]=(0.3)"u[n]. If the input to the system is x[r]=(-0.6)" u [n], giving an output of y[n]=[n]*x[n]: a. (5 pts) Find the spectrum of the output, Y(e/2/). b. (10 pts) Use partial fraction decomposition to rewrite Y (e/2*) as a sum of two terms then take the inverse DTFT to find the output, y[n]
Exercise 2.5 response of the LTI system with impulse response h(t)-e cos(2t)u(t)
1. The signal x(t)- expl-a)u(t) is passed as the input to a system with impulse response h(t) -sin(2t)/(7t (a) Find the Fourier transform Y() of the output (b) For what value of α does the energy in the output signal equal one-half the input signal energy? Hint: use the duality property of Fourier Transform to obtain H(a
Show that the system with impulse response h(t) = e-2t cos(10nt) u(t) • Is it stable? Is it causal?
4. A linear time invariant system has the following impulse response: h(t) =2e-at u(t) Use convolution to find the response y(t) to the following input: x(t) = u(t)-u(t-4) Sketch y(t) for the case when a = 1
Consider an LTI system with the impulse response h(t) = e- . Is the system casual? Explain. Find and plot the output s(t) given that the system input is x(t) = u(t). Note that s(t) in this case is commonly known as the step response of the system. If the input is x(t) = u(t)-u(t-T). Express the output y(t) as a function of s(t). Also, explicitly write the output y(t) as a function of t. a) b) c)