PART1
PART1
PART1
PART 1
% close all other command and clear all variables from matlab workspace
close all
clear
clc
% defines a function x(t) and h(t) and the both function will return value 1.0 when the inout
is greater than or equal to 0 and otherwise.
x=@(t) 1.0*(t>=0).*exp(-t);
h=@(t) 1.0*(t>=0).*exp(-2*t);