Ee256 Assignment 1
Ee256 Assignment 1
Name: Aradhya VG
Section: S2
Roll Number: 221EE209
Registration Number: 2210059
Subject Code: EE256
Subject Name: Signals and Systems
x = inline(['(-t-5).*(t>=-5 & t<-4)+(t+4).*(t>=-4 & t<-3)'+(-t-3).*(t>=-3 & t<-2) +(t+2).*(t>=-2 & t<-
1)'+(-t-1).*(t>=-1 & t<0) +(t).*(t>=0 & t<1)'+(-t+1).*(t>=1 & t<2)+(t-2).*(t>=2 & t<3)'+(-t+3).*(t>=3
& t<4)+(t-4).*(t>=4 & t<5)'],'t');
Output:
Q2)Also tabulate for all continuous time ranges, clearly the “integrating time ranges”
(upper and lower limits) & “function to be integrated” respectively. so that the
mathematical expression to y(t) = x(t)*g(t) (consider x(τ) and g(t- τ )) can be found out.
*Here rectangular pulse part of g(t) is not considered while integrating as the effective area of
x(t) under period 2 is 0 .So multiplying it with constant value won’t make a change.
Q3) Find the mathematical expression for at least two ranges and verify the result
using MATLAB.