% (f)
k_row = find_index(w_row);
k_col = find_index(w_col);
wk_row = omega(k_row);
wk_col = omega(k_col);

% (g)
all_ks = [k_row k_col];
D8 = fft(d8, 2048);
D8abs = abs(D8);
D8sq = D8abs .* D8abs;
D8en = D8sq(all_ks);

% (h-i)
dphone = ttdecode(phone); 
load touch;
dx1 = ttdecode(x1);
dx2 = ttdecode(x2);
dhardx1 = ttdecode(hardx1);
dhardx2 = ttdecode(hardx2);

fprintf(1, 'My phone numberis ');
fprintf(1, '%d%d%d-%d%d%d%d', dphone);
fprintf(1, '\nphone number of x1 is ');
fprintf(1, '%d%d%d-%d%d%d%d', dx1);
fprintf(1, '\nphone number of x2 is ');
fprintf(1, '%d%d%d-%d%d%d%d', dx2);
fprintf(1, '\nphone number of hardx1 is ');
fprintf(1, '%d%d%d-%d%d%d%d', dhardx1);
fprintf(1, '\nphone number of hardx2 is ');
fprintf(1, '%d%d%d-%d%d%d%d', dhardx2);
fprintf('\n');

%My phone numberis 225-7326
%phone number of x1 is 968-7335
%phone number of x2 is 324-0716
%phone number of hardx1 is 968-7335
%phone number of hardx2 is 324-0716
