using Matlab Find and sketch the following for the xs Plot x


using Matlab

Find and sketch the following for the x(s); Plot x(t) and x(-s). Find and sketch the even component, x_e(t) of x(t). Find and sketch the odd component, x_e(s) of x(t).

Solution

close all;

clear all;

clc;

t1=-1:0.001:-0.001;

u3=t1>=-1;

x3=2*u3;

t2=0:0.001:2.999;

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

x5=[x3 x4];

t3=-1:0.001:2.999;

figure;

plot(t3,x5);

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

x6=fliplr(x5);

t4=fliplr(-t3);

figure;

plot(t4,x6);

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

xe=(x5+x6)/2;

t5=-3:0.0015:2.999;

figure;

plot(t5,xe);

title(\'even signal\');

xo=(x5-x6)/2;

figure;

plot(t5,xo);

title(\'odd signal\');

 using Matlab Find and sketch the following for the x(s); Plot x(t) and x(-s). Find and sketch the even component, x_e(t) of x(t). Find and sketch the odd compo

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site