SlideShare a Scribd company logo
Operations on continuous time
signals
Presented By
Mahruf Zaman Utso
044
Md. Iftekhar Ahmed Nasim
117
Shanawaz Ahmed
103
Overview:
Introduction
Operations
Conclusion
What is signal ?
-In electrical engineering, the fundamental quantity of
representing some information is called a signal. It does
not matter what the information is i-e: Analog or digital
information. In mathematics, a signal is a function that
conveys some information.
Types of signal:
1. Continuous time signal.
2. Discrete time signal.
Introduction:
Continuous time signal :
Operation on signal:
1. Shifting.
2. Reflection.
3. Scaling.
4. Symmetric or not.
5. Even part of the signal.
6. Odd part of the signal.
Consider a signal :
Graphical Expression of the signal:
𝒙 𝒕 =
𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐
𝟏 , −𝟐 < 𝒕 ≤ −𝟏
𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎
−𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏
−𝟏 , 𝟏 < 𝒕 ≤ 𝟐
𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
t=-6:0.001:6;
x=zeros(size(t));
t1= t>=-3 & t<=-2;
x(t1)=t(t1)+3;
t2= t>-2 & t<=-1;
x(t2) = 1;
t3 = t>-1 & t<=0;
x(t3) = t(t3)+2;
t4 = t>0 & t<=1;
x(t4) = -3*t(t4)+2;
t5 = t>1 & t<=2;
x(t5) = -1;
t6 = t>2 & t<=3;
x(t6) = t(t6)- 3;
plot(t,x);
xlim([-4 4]);
ylim([-4 4]);
grid on;
Matlab Source code:
Shifting operation:
x (t-t0) represent a time-shifted version of x(t).
If t0>0 then the signal is delayed by t0 second.
If t0 <0 then the signal represent the advanced
replica of x (t).
Shifting operation:
𝒙 𝒕 + 𝟐 =
𝒕 + 𝟓 , −𝟓 ≤ 𝒕 ≤ −𝟒
𝟏 , −𝟒 < 𝒕 ≤ −𝟑
𝒕 + 𝟒 , −𝟑 < 𝒕 ≤ −𝟐
−𝟑𝒕 − 𝟒 − 𝟐 < 𝒕 ≤ −𝟏
−𝟏 , −𝟏 < 𝒕 ≤ 𝟎
𝒕 − 𝟏 , 𝟎 < 𝒕 ≤ 𝟏
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
𝒙 𝒕 =
𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐
𝟏 , −𝟐 < 𝒕 ≤ −𝟏
𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎
−𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏
−𝟏 , 𝟏 < 𝒕 ≤ 𝟐
𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
Shifting operation:
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
-6 -5 -4 -3 -2 -1 0 1 2
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
Matlab Source Code:
t=-6:0.001:6;
x=zeros(size(t));
t1= t>=-5 & t<=-4;
x(t1)=t(t1)+5;
t2= t>-4 & t<=-3;
x(t2) = 1;
t3 = t>-3 & t<=-2;
x(t3) = t(t3)+4;
t4 = t>-2 & t<=-1;
x(t4) = -3*t(t4)-4;
t5 = t>-1 & t<=0;
x(t5) = -1;
t6 = t>0 & t<=1;
x(t6) = t(t6)- 1;
plot(t,x);
xlim([-6 2]);
ylim([-4 4]);
grid on;
Scaling operation:
x (Ƞt) is the scaled version of x(t). If |Ƞ|>1 then x (Ƞt) is the
compressed version. If |Ƞ|<1 then x (Ƞt) is the expended signal.
𝒙 𝒕 =
𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐
𝟏 , −𝟐 < 𝒕 ≤ −𝟏
𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎
−𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏
−𝟏 , 𝟏 < 𝒕 ≤ 𝟐
𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
𝒙 𝟐𝒕 =
𝟐𝒕 + 𝟑 , −𝟏. 𝟓 ≤ 𝒕 ≤ −𝟏
𝟏 , −𝟏 < 𝒕 ≤ −𝟎. 𝟓
𝟐𝒕 + 𝟐 , −𝟎. 𝟓 < 𝒕 ≤ 𝟎
−𝟔𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟎. 𝟓
−𝟏 , 𝟎. 𝟓 < 𝒕 ≤ 𝟏
𝟐𝒕 − 𝟑 , 𝟏 < 𝒕 ≤ 𝟏. 𝟓
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
Scaling operation:
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
Matlab Source Code:
t=-6:0.001:6;
x=zeros(size(t));
t1= t>=-1.5 & t<=-1;
x(t1)=2*t(t1)+3;
t2= t>-1 & t<=-0.5;
x(t2) = 1;
t3 = t>-0.5 & t<=0;
x(t3) = 2*t(t3)+2;
t4 = t>0 & t<=0.5;
x(t4) = -6*t(t4)+2;
t5 = t>0.5 & t<=1;
x(t5) = -1;
t6 = t>1 & t<=1.5;
x(t6) = 2*t(t6)-3;
plot(t,x);
xlim([-4 4]);
ylim([-4 4]);
grid on;
Reflection operation:
x(-t) is the reflected version of x(t). It flips
the signal vertically
𝒙 𝒕 =
𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐
𝟏 , −𝟐 < 𝒕 ≤ −𝟏
𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎
−𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏
−𝟏 , 𝟏 < 𝒕 ≤ 𝟐
𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
𝒙 −𝒕 =
−𝒕 − 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐
−𝟏 , −𝟐 < 𝒕 ≤ −𝟏
𝟑𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎
−𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏
𝟏 , 𝟏 < 𝒕 ≤ 𝟐
−𝒕 + 𝟑 , 𝟐 < 𝒕 ≤ 𝟑
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
Reflection operation:
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
Matlab Source Code:
t=-6:0.001:6;
x=zeros(size(t));
t1= t>=-3 & t<=-2;
x(t1)=-t(t1)-3;
t2= t>-2 & t<=-1;
x(t2) = -1;
t3 = t>-1 & t<=0;
x(t3) = 3*t(t3)+2;
t4 = t>0 & t<=1;
x(t4) = -t(t4)+2;
t5 = t>1 & t<=2;
x(t5) = 1;
t6 = t>2 & t<=3;
x(t6) = -t(t6)+ 3;
plot(t,x);
xlim([-4 4]);
ylim([-4 4]);
grid on;
A signal x(t) is even symmetric if x(t) = x(-t).
A signal x(t) is odd symmetric if x(t) = -x(-t)
𝒙 𝒕 =
𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐
𝟏 , −𝟐 < 𝒕 ≤ −𝟏
𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎
−𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏
−𝟏 , 𝟏 < 𝒕 ≤ 𝟐
𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑
𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
𝑥 −𝑡 =
−𝑡 − 3 , −3 ≤ 𝑡 ≤ −2
−1 , −2 < 𝑡 ≤ −1
3𝑡 + 2 , −1 < 𝑡 ≤ 0
−𝑡 + 2 , 0 < 𝑡 ≤ 1
1 , 1 < 𝑡 ≤ 2
−𝑡 + 3 , 2 < 𝑡 ≤ 3
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Symmetric Signal:
Symmetric Signal:
Here, x(-t) ≠ x(t) . So, the signal is not even symmetric
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
Symmetric Signal:
Here, x(-t)≠ -x(t).So, the signal is not odd symmetric.
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
Mathematical Expression:
𝑿 𝒆(𝒕) =
2𝑡 + 2 , −1 ≤ 𝑡 ≤ 0
−2𝑡 + 2 , 0 < 𝑡 ≤ 1
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Even Part:
For even part xe(t) =[x(t)+x(-t)]/2
Even part:
For even part xe(t) =[x(t)+x(-t)]/2
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
Matlab Source Code:
t=-6:0.001:6;
x=zeros(size(t));
t1= t>=-1 & t<=0;
x(t1)=2*t(t1)+2;
t2= t>0 & t<=1;
x(t2) = -2*t(t2)+2;
plot(t,x);
xlim([-4 4]);
ylim([-4 4]);
grid on;
Odd Part:
For odd part xo(t) =[x(t)-x(-t)]/2
Mathematical Expression:
𝑿 𝒐(𝒕) =
𝑡 + 3 , −3 ≤ 𝑡 ≤ −2
1 , −2 < 𝑡 ≤ −1
−𝑡 , −1 < 𝑡 ≤ 1
−1 , 1 < 𝑡 ≤ 2
𝑡 − 3 , 2 < 𝑡 ≤ 3
0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Odd Part:
For odd part xo(t) =[x(t)-x(-t)]/2
-4 -3 -2 -1 0 1 2 3 4
-4
-3
-2
-1
0
1
2
3
4
x(t)
y(t)
Matlab Source Code:
t=-6:0.001:6;
x=zeros(size(t));
t1= t>=-3 & t<=-2;
x(t1)=t(t1)+3;
t2= t>-2 & t<=-1;
x(t2) = 1;
t3 = t>-1 & t<=1;
x(t3) = -t(t3);
t4 = t>1 & t<=2;
x(t4) = -1;
t5 = t>2 & t<=3;
x(t5) = t(t5)- 3;
plot(t,x);
xlim([-4 4]);
ylim([-4 4]);
grid on;
Any Question or
Suggestions
?
Thank You

More Related Content

What's hot

Lecture No:1 Signals & Systems
Lecture No:1 Signals & SystemsLecture No:1 Signals & Systems
Lecture No:1 Signals & Systems
rbatec
 
Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)
Ridwanul Hoque
 
Phase locked loop
Phase locked loopPhase locked loop
Phase locked loop
Preet_patel
 
4.Sampling and Hilbert Transform
4.Sampling and Hilbert Transform4.Sampling and Hilbert Transform
4.Sampling and Hilbert Transform
INDIAN NAVY
 
FM Demodulator
FM DemodulatorFM Demodulator
Signals & Systems PPT
Signals & Systems PPTSignals & Systems PPT
Signals & Systems PPT
Jay Baria
 
Signals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power SignalsSignals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power Signals
nishtha97
 
Convolution
ConvolutionConvolution
Convolution
vandanamalode1
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
mpsrekha83
 
Multirate digital signal processing
Multirate digital signal processingMultirate digital signal processing
Multirate digital signal processing
MOHAN MOHAN
 
Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
Shanu Bhuvana
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )
vijidhivi
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
Dr Naim R Kidwai
 
Signals and classification
Signals and classificationSignals and classification
Signals and classificationSuraj Mishra
 
Pre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuitsPre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuits
ShivangiSingh241
 
Pre-emphasis and De-emphasis.pptx
Pre-emphasis and De-emphasis.pptxPre-emphasis and De-emphasis.pptx
Pre-emphasis and De-emphasis.pptx
swatihalunde
 
Operations on Continuous Time Signals
Operations on Continuous Time SignalsOperations on Continuous Time Signals
Operations on Continuous Time Signals
Al-Amin Islam
 
Lecture 5: The Convolution Sum
Lecture 5: The Convolution SumLecture 5: The Convolution Sum
Lecture 5: The Convolution Sum
Jawaher Abdulwahab Fadhil
 
Chapter1 - Signal and System
Chapter1 - Signal and SystemChapter1 - Signal and System
Chapter1 - Signal and System
Attaporn Ninsuwan
 

What's hot (20)

Lecture No:1 Signals & Systems
Lecture No:1 Signals & SystemsLecture No:1 Signals & Systems
Lecture No:1 Signals & Systems
 
Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)Single Sideband Suppressed Carrier (SSB-SC)
Single Sideband Suppressed Carrier (SSB-SC)
 
Phase locked loop
Phase locked loopPhase locked loop
Phase locked loop
 
4.Sampling and Hilbert Transform
4.Sampling and Hilbert Transform4.Sampling and Hilbert Transform
4.Sampling and Hilbert Transform
 
FM Demodulator
FM DemodulatorFM Demodulator
FM Demodulator
 
Signals & Systems PPT
Signals & Systems PPTSignals & Systems PPT
Signals & Systems PPT
 
Hilbert
HilbertHilbert
Hilbert
 
Signals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power SignalsSignals and Systems: Energy and Power Signals
Signals and Systems: Energy and Power Signals
 
Convolution
ConvolutionConvolution
Convolution
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
Multirate digital signal processing
Multirate digital signal processingMultirate digital signal processing
Multirate digital signal processing
 
Sampling theorem
Sampling theoremSampling theorem
Sampling theorem
 
PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )PSK (PHASE SHIFT KEYING )
PSK (PHASE SHIFT KEYING )
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
Signals and classification
Signals and classificationSignals and classification
Signals and classification
 
Pre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuitsPre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuits
 
Pre-emphasis and De-emphasis.pptx
Pre-emphasis and De-emphasis.pptxPre-emphasis and De-emphasis.pptx
Pre-emphasis and De-emphasis.pptx
 
Operations on Continuous Time Signals
Operations on Continuous Time SignalsOperations on Continuous Time Signals
Operations on Continuous Time Signals
 
Lecture 5: The Convolution Sum
Lecture 5: The Convolution SumLecture 5: The Convolution Sum
Lecture 5: The Convolution Sum
 
Chapter1 - Signal and System
Chapter1 - Signal and SystemChapter1 - Signal and System
Chapter1 - Signal and System
 

Similar to Operations on Continuous time Signals.

signals and systems_isooperations.pptx
signals and   systems_isooperations.pptxsignals and   systems_isooperations.pptx
signals and systems_isooperations.pptx
MrFanatic1
 
Contemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manualContemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manual
to2001
 
LINEAR SYSTEMS
LINEAR SYSTEMSLINEAR SYSTEMS
LINEAR SYSTEMS
JazzieJao1
 
Unit 1 Operation on signals
Unit 1  Operation on signalsUnit 1  Operation on signals
Unit 1 Operation on signals
Dr.SHANTHI K.G
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
wafaa_A7
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
VairaPrakash2
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
VairaPrakash2
 
Ct signal operations
Ct signal operationsCt signal operations
Ct signal operations
mihir jain
 
MSE280s Chapter1_Signals_and_Systems.pdf
MSE280s Chapter1_Signals_and_Systems.pdfMSE280s Chapter1_Signals_and_Systems.pdf
MSE280s Chapter1_Signals_and_Systems.pdf
TranThanhNam8
 
ssppt-170414031953.pptx
ssppt-170414031953.pptxssppt-170414031953.pptx
ssppt-170414031953.pptx
AsifRahaman16
 
Unit-1 Classification of Signals
Unit-1 Classification of SignalsUnit-1 Classification of Signals
Unit-1 Classification of Signals
Dr.SHANTHI K.G
 
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptxPPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
idrissaeed
 
Fourier Analysis Review for engineering.
Fourier Analysis Review for engineering.Fourier Analysis Review for engineering.
Fourier Analysis Review for engineering.
AbdelRahmanMohamedNe
 
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
TawseefAhmad25
 
Digital signal processing on arm new
Digital signal processing on arm newDigital signal processing on arm new
Digital signal processing on arm new
Israel Gbati
 
Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx
Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptxEs400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx
Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx
umavijay
 
Informe laboratorio n°1
Informe laboratorio n°1Informe laboratorio n°1
Informe laboratorio n°1
luisescobedo38
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
Dr. C.V. Suresh Babu
 
Lect7-Fourier-Transform.pdf
Lect7-Fourier-Transform.pdfLect7-Fourier-Transform.pdf
Lect7-Fourier-Transform.pdf
EngMostafaMorsyMoham
 

Similar to Operations on Continuous time Signals. (20)

signals and systems_isooperations.pptx
signals and   systems_isooperations.pptxsignals and   systems_isooperations.pptx
signals and systems_isooperations.pptx
 
Contemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manualContemporary communication systems 1st edition mesiya solutions manual
Contemporary communication systems 1st edition mesiya solutions manual
 
LINEAR SYSTEMS
LINEAR SYSTEMSLINEAR SYSTEMS
LINEAR SYSTEMS
 
Unit 1 Operation on signals
Unit 1  Operation on signalsUnit 1  Operation on signals
Unit 1 Operation on signals
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Chapter 2
Chapter 2Chapter 2
Chapter 2
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
 
Signals and Systems.pptx
Signals and Systems.pptxSignals and Systems.pptx
Signals and Systems.pptx
 
Ct signal operations
Ct signal operationsCt signal operations
Ct signal operations
 
MSE280s Chapter1_Signals_and_Systems.pdf
MSE280s Chapter1_Signals_and_Systems.pdfMSE280s Chapter1_Signals_and_Systems.pdf
MSE280s Chapter1_Signals_and_Systems.pdf
 
ssppt-170414031953.pptx
ssppt-170414031953.pptxssppt-170414031953.pptx
ssppt-170414031953.pptx
 
Unit-1 Classification of Signals
Unit-1 Classification of SignalsUnit-1 Classification of Signals
Unit-1 Classification of Signals
 
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptxPPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
PPT Chapter-1-V1.pptx__26715_1_1539251776000.pptx.pptx
 
Fourier Analysis Review for engineering.
Fourier Analysis Review for engineering.Fourier Analysis Review for engineering.
Fourier Analysis Review for engineering.
 
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
Computation in Real Closed Infinitesimal and Transcendental Extensions of the...
 
Digital signal processing on arm new
Digital signal processing on arm newDigital signal processing on arm new
Digital signal processing on arm new
 
Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx
Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptxEs400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx
Es400 fall 2012_lecuture_2_transformation_of_continuous_time_signal.pptx
 
Informe laboratorio n°1
Informe laboratorio n°1Informe laboratorio n°1
Informe laboratorio n°1
 
Randomized algorithms ver 1.0
Randomized algorithms ver 1.0Randomized algorithms ver 1.0
Randomized algorithms ver 1.0
 
Lect7-Fourier-Transform.pdf
Lect7-Fourier-Transform.pdfLect7-Fourier-Transform.pdf
Lect7-Fourier-Transform.pdf
 

Recently uploaded

block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
AafreenAbuthahir2
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
MdTanvirMahtab2
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
karthi keyan
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
R&R Consult
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 

Recently uploaded (20)

block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
CME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional ElectiveCME397 Surface Engineering- Professional Elective
CME397 Surface Engineering- Professional Elective
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 

Operations on Continuous time Signals.

  • 2. Presented By Mahruf Zaman Utso 044 Md. Iftekhar Ahmed Nasim 117 Shanawaz Ahmed 103
  • 4. What is signal ? -In electrical engineering, the fundamental quantity of representing some information is called a signal. It does not matter what the information is i-e: Analog or digital information. In mathematics, a signal is a function that conveys some information. Types of signal: 1. Continuous time signal. 2. Discrete time signal. Introduction:
  • 6. Operation on signal: 1. Shifting. 2. Reflection. 3. Scaling. 4. Symmetric or not. 5. Even part of the signal. 6. Odd part of the signal.
  • 7. Consider a signal : Graphical Expression of the signal: 𝒙 𝒕 = 𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐 𝟏 , −𝟐 < 𝒕 ≤ −𝟏 𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎 −𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏 −𝟏 , 𝟏 < 𝒕 ≤ 𝟐 𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆 -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 8. t=-6:0.001:6; x=zeros(size(t)); t1= t>=-3 & t<=-2; x(t1)=t(t1)+3; t2= t>-2 & t<=-1; x(t2) = 1; t3 = t>-1 & t<=0; x(t3) = t(t3)+2; t4 = t>0 & t<=1; x(t4) = -3*t(t4)+2; t5 = t>1 & t<=2; x(t5) = -1; t6 = t>2 & t<=3; x(t6) = t(t6)- 3; plot(t,x); xlim([-4 4]); ylim([-4 4]); grid on; Matlab Source code:
  • 9. Shifting operation: x (t-t0) represent a time-shifted version of x(t). If t0>0 then the signal is delayed by t0 second. If t0 <0 then the signal represent the advanced replica of x (t).
  • 10. Shifting operation: 𝒙 𝒕 + 𝟐 = 𝒕 + 𝟓 , −𝟓 ≤ 𝒕 ≤ −𝟒 𝟏 , −𝟒 < 𝒕 ≤ −𝟑 𝒕 + 𝟒 , −𝟑 < 𝒕 ≤ −𝟐 −𝟑𝒕 − 𝟒 − 𝟐 < 𝒕 ≤ −𝟏 −𝟏 , −𝟏 < 𝒕 ≤ 𝟎 𝒕 − 𝟏 , 𝟎 < 𝒕 ≤ 𝟏 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆 𝒙 𝒕 = 𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐 𝟏 , −𝟐 < 𝒕 ≤ −𝟏 𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎 −𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏 −𝟏 , 𝟏 < 𝒕 ≤ 𝟐 𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
  • 11. Shifting operation: -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t) -6 -5 -4 -3 -2 -1 0 1 2 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 12. Matlab Source Code: t=-6:0.001:6; x=zeros(size(t)); t1= t>=-5 & t<=-4; x(t1)=t(t1)+5; t2= t>-4 & t<=-3; x(t2) = 1; t3 = t>-3 & t<=-2; x(t3) = t(t3)+4; t4 = t>-2 & t<=-1; x(t4) = -3*t(t4)-4; t5 = t>-1 & t<=0; x(t5) = -1; t6 = t>0 & t<=1; x(t6) = t(t6)- 1; plot(t,x); xlim([-6 2]); ylim([-4 4]); grid on;
  • 13. Scaling operation: x (Ƞt) is the scaled version of x(t). If |Ƞ|>1 then x (Ƞt) is the compressed version. If |Ƞ|<1 then x (Ƞt) is the expended signal. 𝒙 𝒕 = 𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐 𝟏 , −𝟐 < 𝒕 ≤ −𝟏 𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎 −𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏 −𝟏 , 𝟏 < 𝒕 ≤ 𝟐 𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆 𝒙 𝟐𝒕 = 𝟐𝒕 + 𝟑 , −𝟏. 𝟓 ≤ 𝒕 ≤ −𝟏 𝟏 , −𝟏 < 𝒕 ≤ −𝟎. 𝟓 𝟐𝒕 + 𝟐 , −𝟎. 𝟓 < 𝒕 ≤ 𝟎 −𝟔𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟎. 𝟓 −𝟏 , 𝟎. 𝟓 < 𝒕 ≤ 𝟏 𝟐𝒕 − 𝟑 , 𝟏 < 𝒕 ≤ 𝟏. 𝟓 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
  • 14. Scaling operation: -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 15. Matlab Source Code: t=-6:0.001:6; x=zeros(size(t)); t1= t>=-1.5 & t<=-1; x(t1)=2*t(t1)+3; t2= t>-1 & t<=-0.5; x(t2) = 1; t3 = t>-0.5 & t<=0; x(t3) = 2*t(t3)+2; t4 = t>0 & t<=0.5; x(t4) = -6*t(t4)+2; t5 = t>0.5 & t<=1; x(t5) = -1; t6 = t>1 & t<=1.5; x(t6) = 2*t(t6)-3; plot(t,x); xlim([-4 4]); ylim([-4 4]); grid on;
  • 16. Reflection operation: x(-t) is the reflected version of x(t). It flips the signal vertically 𝒙 𝒕 = 𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐 𝟏 , −𝟐 < 𝒕 ≤ −𝟏 𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎 −𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏 −𝟏 , 𝟏 < 𝒕 ≤ 𝟐 𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆 𝒙 −𝒕 = −𝒕 − 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐 −𝟏 , −𝟐 < 𝒕 ≤ −𝟏 𝟑𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎 −𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏 𝟏 , 𝟏 < 𝒕 ≤ 𝟐 −𝒕 + 𝟑 , 𝟐 < 𝒕 ≤ 𝟑 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆
  • 17. Reflection operation: -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t) -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 18. Matlab Source Code: t=-6:0.001:6; x=zeros(size(t)); t1= t>=-3 & t<=-2; x(t1)=-t(t1)-3; t2= t>-2 & t<=-1; x(t2) = -1; t3 = t>-1 & t<=0; x(t3) = 3*t(t3)+2; t4 = t>0 & t<=1; x(t4) = -t(t4)+2; t5 = t>1 & t<=2; x(t5) = 1; t6 = t>2 & t<=3; x(t6) = -t(t6)+ 3; plot(t,x); xlim([-4 4]); ylim([-4 4]); grid on;
  • 19. A signal x(t) is even symmetric if x(t) = x(-t). A signal x(t) is odd symmetric if x(t) = -x(-t) 𝒙 𝒕 = 𝒕 + 𝟑 , −𝟑 ≤ 𝒕 ≤ −𝟐 𝟏 , −𝟐 < 𝒕 ≤ −𝟏 𝒕 + 𝟐 , −𝟏 < 𝒕 ≤ 𝟎 −𝟑𝒕 + 𝟐 , 𝟎 < 𝒕 ≤ 𝟏 −𝟏 , 𝟏 < 𝒕 ≤ 𝟐 𝒕 − 𝟑 , 𝟐 < 𝒕 ≤ 𝟑 𝟎, 𝒐𝒕𝒉𝒆𝒓𝒘𝒊𝒔𝒆 𝑥 −𝑡 = −𝑡 − 3 , −3 ≤ 𝑡 ≤ −2 −1 , −2 < 𝑡 ≤ −1 3𝑡 + 2 , −1 < 𝑡 ≤ 0 −𝑡 + 2 , 0 < 𝑡 ≤ 1 1 , 1 < 𝑡 ≤ 2 −𝑡 + 3 , 2 < 𝑡 ≤ 3 0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 Symmetric Signal:
  • 20. Symmetric Signal: Here, x(-t) ≠ x(t) . So, the signal is not even symmetric -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t) -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 21. Symmetric Signal: Here, x(-t)≠ -x(t).So, the signal is not odd symmetric. -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 22. Mathematical Expression: 𝑿 𝒆(𝒕) = 2𝑡 + 2 , −1 ≤ 𝑡 ≤ 0 −2𝑡 + 2 , 0 < 𝑡 ≤ 1 0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒 Even Part: For even part xe(t) =[x(t)+x(-t)]/2
  • 23. Even part: For even part xe(t) =[x(t)+x(-t)]/2 -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 24. Matlab Source Code: t=-6:0.001:6; x=zeros(size(t)); t1= t>=-1 & t<=0; x(t1)=2*t(t1)+2; t2= t>0 & t<=1; x(t2) = -2*t(t2)+2; plot(t,x); xlim([-4 4]); ylim([-4 4]); grid on;
  • 25. Odd Part: For odd part xo(t) =[x(t)-x(-t)]/2 Mathematical Expression: 𝑿 𝒐(𝒕) = 𝑡 + 3 , −3 ≤ 𝑡 ≤ −2 1 , −2 < 𝑡 ≤ −1 −𝑡 , −1 < 𝑡 ≤ 1 −1 , 1 < 𝑡 ≤ 2 𝑡 − 3 , 2 < 𝑡 ≤ 3 0, 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
  • 26. Odd Part: For odd part xo(t) =[x(t)-x(-t)]/2 -4 -3 -2 -1 0 1 2 3 4 -4 -3 -2 -1 0 1 2 3 4 x(t) y(t)
  • 27. Matlab Source Code: t=-6:0.001:6; x=zeros(size(t)); t1= t>=-3 & t<=-2; x(t1)=t(t1)+3; t2= t>-2 & t<=-1; x(t2) = 1; t3 = t>-1 & t<=1; x(t3) = -t(t3); t4 = t>1 & t<=2; x(t4) = -1; t5 = t>2 & t<=3; x(t5) = t(t5)- 3; plot(t,x); xlim([-4 4]); ylim([-4 4]); grid on;