Plot the following functions for t 30013 xt et cos2 pi tut

Plot the following functions for t = (-3:0.01:3) x(t) = e^-t cos(2 pi t)u(t - 1) x(2t +1) x(-t + 1) y(t) = x(2t + 1) + x(-t + 1) Find and sketch the following for the x(t): Plot x(t) and x(-t). Find and sketch the even component, x_e(t) of x(t). Find and sketch the odd component, x_o(t) of x(t).

Solution

close all;

clear all;

clc;

t=-3:0.01:3;

u=t>=1;

u1=2*t+1>=1;

u2=-t+1>=1;

x=(exp(-t)).*cos(2*pi*t).*u;

figure;

plot(t,x);

title(\'x(t)\');

grid on;

x1=exp(-(2*t+1)).*cos(2*pi*(2*t+1)).*u1;

figure;

plot(t,x1);

title(\'x(2t+1)\');

grid on;

x2=exp(-(-t+1)).*cos(2*pi*(-t+1)).*u2;

figure;

plot(t,x2);

title(\'x(-t+1)\');

grid on;

y=x1+x2;

figure;

plot(t,y);

title(\'y(t)\');

grid on;

t1=-1:0.1:0;

u3=t1>=-1;

x3=2*u3;

t2=0:0.1:3;

x4=2*exp(-t2/2);

x5=[x3 x4];

t3=-1:0.1:3.1;

figure;

plot(t3,x5);

title(\'2.x(t)\');

 Plot the following functions for t = (-3:0.01:3) x(t) = e^-t cos(2 pi t)u(t - 1) x(2t +1) x(-t + 1) y(t) = x(2t + 1) + x(-t + 1) Find and sketch the following
 Plot the following functions for t = (-3:0.01:3) x(t) = e^-t cos(2 pi t)u(t - 1) x(2t +1) x(-t + 1) y(t) = x(2t + 1) + x(-t + 1) Find and sketch the following

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site