summaryrefslogtreecommitdiff
path: root/125/CH3/EX3.7/Example3_7.sce
blob: a7a75891ca32fd78a27368ee92d68eddff043aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Caption: 2-D Linear Convolution
//Example3.7
//page 111
clc;
x =[1,2;3,4];
h = [5,6;7,8];
y = conv2d2(x,h);
disp(y,'Linear 2D convolution result y =')
//Result
// Linear 2D convolution result y =   
//Linear 2D convolution result y =   
// 
//    5.     16.    12.  
//    22.    60.    40.  
//    21.    52.    32