%Хрплпгйумьт мЭузт фймЮт уфпйчеЯщн ухгкексймЭнпх хрп-рЯнбкб
clc;
clear all;

%Matrix definition
A=[8  2 -9  9  4  5
   7  1  1  7  3  4
   6  4  6  3  6  7];

%Find mean value of Matrix [7 3 4; 3 6 7]
s=0;

for i=2:3
    for j=4:6
        s=s+A(i,j)
        pause
    end
end

Mean=s/6;

%Display mean value of Matrix [7 3 4;3 6 7]
fprintf('Mean value of Мatrix [7 3 4; 3 6 7] is: %.2f\n',Mean);