summaryrefslogtreecommitdiff
path: root/52/CH1/EX1.12/Example1_12.sce
blob: 8bc62a7890a866ab9eff9ad34cd4107b3861d09d (plain)
1
2
3
4
5
6
7
8
9
10
//Example 1.12
//Program to Compute convolution of given sequences
//x(n)=[3 2 1 2], h(n)=[1 2 1 2];
clear;
clc ;
close ;
x=[3 2 1 2];
h=[1 2 1 2];
y=convol(x,h);
disp(y);