Matlab

EVEN AND ODD PARTS OF SIGNALS AND SEQUENCE

EVEN AND ODD PARTS OF SIGNALS AND SEQUENCE:

One of the most important characteristic of signal is symmetric which may be useful for signal analysis. When signal is symmetric around vertical axis it said to be even signal, when a signal is symmetric about origin is called odd signal.

Even signal:

When a signal is distinguished as even signal when it satisfies the below condition, for a continuous time signal x(t).

x(t)=x(-t) for all t

When a signal is distinguished as even signal when it satisfies the below condition, for a Discrete time signal x(n).

x(n)=x(-n) for all n

Cosine wave is an example of even signal.

clc;

close all;

clear all;

t=0:.001:4*pi;

x=sin(t)+cos(t); % x(t)=sin(t)+cos(t)

subplot(2,2,1)

plot(t,x)

xlabel(‘t’);

ylabel(‘amplitude’)

title(‘input signal’)

y=sin(-t)+cos(-t); % y(t)=x(-t)

subplot(2,2,2)

plot(t,y)

xlabel(‘t’);

ylabel(‘amplitude’)

title(‘input signal with t= -t’)

even=(x+y)/2;

subplot(2,2,3)

plot(t,even)

xlabel(‘t’);

ylabel(‘amplitude’)

title(‘even part of the signal’)

Odd signal:

When a signal is distinguished as odd signal when it satisfies the below condition, for a continuous time signal x(t).

x(-t)=-x(t) for all t

When a signal is distinguished as odd signal when it satisfies the below condition, for a Discrete time signal x(n).

x(-n)=-x(n) for all n

Sine wave is an example of odd signal.

clc;

close all;

clear all;

t=0:.001:4*pi;

x=sin(t)+cos(t); % x(t)=sint(t)+cos(t)

subplot(2,2,1)

plot(t,x)

xlabel(‘t’);

ylabel(‘amplitude’)

title(‘input signal’)

y=sin(-t)+cos(-t);

subplot(2,2,2)

plot(t,y)

xlabel(‘t’);

ylabel(‘amplitude’)

title(‘input signal with t= -t’)

odd=(x-y)/2;

subplot(2,2,3)

plot(t,odd)

xlabel(‘t’);

ylabel(‘amplitude’);

title(‘odd part of the signal’);

Even And Odd Parts Of Sequence:

clc;

close all;

clear all;

% Even and odd parts of a sequence

x1=[0,2,-3,5,-2,-1,6];

n=-3:3;

y1= fliplr(x1);%y1(n)=x1(-n)

figure;

subplot(2,2,1);

stem(n,x1);

xlabel(‘n’);

ylabel(‘amplitude’);

title(‘input sequence’);

subplot(2,2,2);

stem(n,y1);

xlabel(‘n’);

ylabel(‘amplitude’);

title(‘input sequence with n= -n’);

even1=.5*(x1+y1);

odd1=.5*(x1-y1);

% plotting even and odd parts of the sequence

subplot(2,2,3);

stem(n,even1);

xlabel(‘n’);

ylabel(‘amplitude’);

title(‘even part of sequence’);

subplot(2,2,4);

stem(n,odd1);

xlabel(‘n’);

ylabel(‘amplitude’);

title(‘odd part of sequence’);

Rajeshwari Chiluveru

Rajeshwari is a Smart TV and connectivity specialist with over 7 years of hands-on experience in troubleshooting real-world device issues. She has worked extensively on diagnosing problems such as WiFi not working, HDMI ARC/eARC failures, app errors, and connectivity issues across platforms like Samsung, Hisense, and Android TV. At Web Vidyalayam, she focuses on creating verified, step-by-step solutions based on practical testing rather than theory. Her goal is to simplify complex technical problems and help users fix their devices quickly and confidently.

Share
Published by
Rajeshwari Chiluveru

Recent Posts

Hisense Smart TV WiFi Not Working? Easy Fixes That Work (2026 Guide)

Introduction: When your Hisense TV won't connect to WiFi, it is rarely a problem with…

1 month ago

Fix Hisense TV Storage Space Running Out: 2026 OS Logic Hub

Hisense Google TV Storage Space Running Out: Why it Happens and How to Fix It…

1 month ago

Samsung Smart TV HDMI ARC/eARC Not Working? Easy Fixes That Actually Work (2026 Guide)

Introduction: "Setting up a soundbar with your Samsung TV should be simple, but the HDMI…

1 month ago

Samsung TV Red Light Blinking? 4 Fixes (2026 Power Logic Hub)

User Problem Scenario: The Red Light "Panic" You press the power button on your Samsung…

2 months ago

Samsung TV Not Connecting to WiFi: 2026 Easy Fix Guide

Introduction: I Know the Feeling "We’ve all been there. You sit down to watch your…

2 months ago

Samsung TV Restarting During Diagnosis? Fix the Reboot Loop Fast

User Problem Scenario: The "Diagnosis Loop" Paradox Imagine you notice your apps are slow. You…

2 months ago