summaryrefslogtreecommitdiffstats
path: root/dis/Matrix/ver2/matrix.c
diff options
context:
space:
mode:
Diffstat (limited to 'dis/Matrix/ver2/matrix.c')
0 files changed, 0 insertions, 0 deletions
href='#n33'>33 34 35 36 37 38 39 40 41 42
clear

figure(1);colormap(gray);

%------------ Parameters --------------------------
window_size_h = 40;
window_size = 2*window_size_h+1;
noise_level = 40/256;

% define A and D
x_ext = -0.423;
ext = 1.232;
A = [ext+x_ext, 0.2534; 0.3423,ext];

D = [3,1];

%------------- compute image I and J ---------------
disp('generating I')