summaryrefslogtreecommitdiff
path: root/162/CH1/EX1.5/example15.sce
blob: cdc56454dc222269c595de5cf9454ea837cafe5c (plain)
1
2
3
4
5
6
7
8
9
//Example 1.5
clc;
n=-1:5;
x1=[0,0,1,2,-3,0,-2];
x2=[2,1,-1,3,2,0,0];
y1=x1+x2;
disp(y1,'y1[n]=');
y2=x1.*x2;
disp(y2,'y2[n]=');