# Save matrix in matlab and call for operations

6 views (last 30 days)
PS on 15 Feb 2024
Commented: PS on 20 Feb 2024
I have a 6x6 matrix generated within each of the three "for" loops.
for kk = 0:1:10
for jj = 0:1:10
generate 6x6 matrix
for pp = 0:pi/2:2pi
generate 6x6 matrix
end
end
end
How do i save all these 6x6 matrices for each of the cases and then how to call them for performing any operations later.

Adam Danz on 15 Feb 2024
Two common approaches to storing a set of matrices are to store them in a cell array or, if the matrices are the same size, to store them within a multidimensional array. These two options differ in how the collection of matrices are accessed by indexing.
Option 1: store matrices in a cell array
% Loop iterations
k = 0:10;
j = 0:10;
p = 0:pi/2:2*pi;
% Preallocate cell arrays
C1 = cell(numel(k),numel(j));
M2 = cell(numel(k),numel(j),numel(p));
% Produce matrices in a loop
for kk = 1:numel(k)
for jj = 1:numel(j)
M1{kk,jj} = k(kk)*magic(6)+j(jj);
for pp = 1:numel(p)
M2{kk,jj,pp} = magic(6)+p(pp);
end
end
end
M1
M1 = 11×11 cell array
{6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double}
M2
M2 = 11×11×5 cell array
M2(:,:,1) = {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} M2(:,:,2) = {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} M2(:,:,3) = {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} M2(:,:,4) = {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} M2(:,:,5) = {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double} {6×6 double}
Access the matrix produced by the n^th k and the m^th j using M{n,m}. Example:
M1{2,3}
ans = 6×6
37 3 8 28 21 26 5 34 9 23 25 27 33 11 4 24 29 22 10 30 35 19 12 17 32 7 36 14 16 18 6 38 31 15 20 13
Option 2: store matrices of the same size within a multidimensional array
k = 0:10;
j = 0:10;
p = 0:pi/2:2*pi;
M1 = nan(6,6,numel(k),numel(j));
M2 = nan(6,6,numel(k),numel(j),numel(p));
for kk = 1:numel(k)
for jj = 1:numel(j)
M1(:,:,kk,jj) = k(kk)*magic(6)+j(jj);
for pp = 1:numel(p)
M2(:,:,kk,jj,pp) = magic(6)+p(pp);
end
end
end
M1
M1 =
M1(:,:,1,1) = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 M1(:,:,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M1(:,:,3,1) = 70 2 12 52 38 48 6 64 14 42 46 50 62 18 4 44 54 40 16 56 66 34 20 30 60 10 68 24 28 32 8 72 58 26 36 22 M1(:,:,4,1) = 105 3 18 78 57 72 9 96 21 63 69 75 93 27 6 66 81 60 24 84 99 51 30 45 90 15 102 36 42 48 12 108 87 39 54 33 M1(:,:,5,1) = 140 4 24 104 76 96 12 128 28 84 92 100 124 36 8 88 108 80 32 112 132 68 40 60 120 20 136 48 56 64 16 144 116 52 72 44 M1(:,:,6,1) = 175 5 30 130 95 120 15 160 35 105 115 125 155 45 10 110 135 100 40 140 165 85 50 75 150 25 170 60 70 80 20 180 145 65 90 55 M1(:,:,7,1) = 210 6 36 156 114 144 18 192 42 126 138 150 186 54 12 132 162 120 48 168 198 102 60 90 180 30 204 72 84 96 24 216 174 78 108 66 M1(:,:,8,1) = 245 7 42 182 133 168 21 224 49 147 161 175 217 63 14 154 189 140 56 196 231 119 70 105 210 35 238 84 98 112 28 252 203 91 126 77 M1(:,:,9,1) = 280 8 48 208 152 192 24 256 56 168 184 200 248 72 16 176 216 160 64 224 264 136 80 120 240 40 272 96 112 128 32 288 232 104 144 88 M1(:,:,10,1) = 315 9 54 234 171 216 27 288 63 189 207 225 279 81 18 198 243 180 72 252 297 153 90 135 270 45 306 108 126 144 36 324 261 117 162 99 M1(:,:,11,1) = 350 10 60 260 190 240 30 320 70 210 230 250 310 90 20 220 270 200 80 280 330 170 100 150 300 50 340 120 140 160 40 360 290 130 180 110 M1(:,:,1,2) = 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 M1(:,:,2,2) = 36 2 7 27 20 25 4 33 8 22 24 26 32 10 3 23 28 21 9 29 34 18 11 16 31 6 35 13 15 17 5 37 30 14 19 12 M1(:,:,3,2) = 71 3 13 53 39 49 7 65 15 43 47 51 63 19 5 45 55 41 17 57 67 35 21 31 61 11 69 25 29 33 9 73 59 27 37 23 M1(:,:,4,2) = 106 4 19 79 58 73 10 97 22 64 70 76 94 28 7 67 82 61 25 85 100 52 31 46 91 16 103 37 43 49 13 109 88 40 55 34 M1(:,:,5,2) = 141 5 25 105 77 97 13 129 29 85 93 101 125 37 9 89 109 81 33 113 133 69 41 61 121 21 137 49 57 65 17 145 117 53 73 45 M1(:,:,6,2) = 176 6 31 131 96 121 16 161 36 106 116 126 156 46 11 111 136 101 41 141 166 86 51 76 151 26 171 61 71 81 21 181 146 66 91 56 M1(:,:,7,2) = 211 7 37 157 115 145 19 193 43 127 139 151 187 55 13 133 163 121 49 169 199 103 61 91 181 31 205 73 85 97 25 217 175 79 109 67 M1(:,:,8,2) = 246 8 43 183 134 169 22 225 50 148 162 176 218 64 15 155 190 141 57 197 232 120 71 106 211 36 239 85 99 113 29 253 204 92 127 78 M1(:,:,9,2) = 281 9 49 209 153 193 25 257 57 169 185 201 249 73 17 177 217 161 65 225 265 137 81 121 241 41 273 97 113 129 33 289 233 105 145 89 M1(:,:,10,2) = 316 10 55 235 172 217 28 289 64 190 208 226 280 82 19 199 244 181 73 253 298 154 91 136 271 46 307 109 127 145 37 325 262 118 163 100 M1(:,:,11,2) = 351 11 61 261 191 241 31 321 71 211 231 251 311 91 21 221 271 201 81 281 331 171 101 151 301 51 341 121 141 161 41 361 291 131 181 111 M1(:,:,1,3) = 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 M1(:,:,2,3) = 37 3 8 28 21 26 5 34 9 23 25 27 33 11 4 24 29 22 10 30 35 19 12 17 32 7 36 14 16 18 6 38 31 15 20 13 M1(:,:,3,3) = 72 4 14 54 40 50 8 66 16 44 48 52 64 20 6 46 56 42 18 58 68 36 22 32 62 12 70 26 30 34 10 74 60 28 38 24 M1(:,:,4,3) = 107 5 20 80 59 74 11 98 23 65 71 77 95 29 8 68 83 62 26 86 101 53 32 47 92 17 104 38 44 50 14 110 89 41 56 35 M1(:,:,5,3) = 142 6 26 106 78 98 14 130 30 86 94 102 126 38 10 90 110 82 34 114 134 70 42 62 122 22 138 50 58 66 18 146 118 54 74 46 M1(:,:,6,3) = 177 7 32 132 97 122 17 162 37 107 117 127 157 47 12 112 137 102 42 142 167 87 52 77 152 27 172 62 72 82 22 182 147 67 92 57 M1(:,:,7,3) = 212 8 38 158 116 146 20 194 44 128 140 152 188 56 14 134 164 122 50 170 200 104 62 92 182 32 206 74 86 98 26 218 176 80 110 68 M1(:,:,8,3) = 247 9 44 184 135 170 23 226 51 149 163 177 219 65 16 156 191 142 58 198 233 121 72 107 212 37 240 86 100 114 30 254 205 93 128 79 M1(:,:,9,3) = 282 10 50 210 154 194 26 258 58 170 186 202 250 74 18 178 218 162 66 226 266 138 82 122 242 42 274 98 114 130 34 290 234 106 146 90 M1(:,:,10,3) = 317 11 56 236 173 218 29 290 65 191 209 227 281 83 20 200 245 182 74 254 299 155 92 137 272 47 308 110 128 146 38 326 263 119 164 101 M1(:,:,11,3) = 352 12 62 262 192 242 32 322 72 212 232 252 312 92 22 222 272 202 82 282 332 172 102 152 302 52 342 122 142 162 42 362 292 132 182 112 M1(:,:,1,4) = 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 M1(:,:,2,4) = 38 4 9 29 22 27 6 35 10 24 26 28 34 12 5 25 30 23 11 31 36 20 13 18 33 8 37 15 17 19 7 39 32 16 21 14 M1(:,:,3,4) = 73 5 15 55 41 51 9 67 17 45 49 53 65 21 7 47 57 43 19 59 69 37 23 33 63 13 71 27 31 35 11 75 61 29 39 25 M1(:,:,4,4) = 108 6 21 81 60 75 12 99 24 66 72 78 96 30 9 69 84 63 27 87 102 54 33 48 93 18 105 39 45 51 15 111 90 42 57 36 M1(:,:,5,4) = 143 7 27 107 79 99 15 131 31 87 95 103 127 39 11 91 111 83 35 115 135 71 43 63 123 23 139 51 59 67 19 147 119 55 75 47 M1(:,:,6,4) = 178 8 33 133 98 123 18 163 38 108 118 128 158 48 13 113 138 103 43 143 168 88 53 78 153 28 173 63 73 83 23 183 148 68 93 58 M1(:,:,7,4) = 213 9 39 159 117 147 21 195 45 129 141 153 189 57 15 135 165 123 51 171 201 105 63 93 183 33 207 75 87 99 27 219 177 81 111 69 M1(:,:,8,4) = 248 10 45 185 136 171 24 227 52 150 164 178 220 66 17 157 192 143 59 199 234 122 73 108 213 38 241 87 101 115 31 255 206 94 129 80 M1(:,:,9,4) = 283 11 51 211 155 195 27 259 59 171 187 203 251 75 19 179 219 163 67 227 267 139 83 123 243 43 275 99 115 131 35 291 235 107 147 91 M1(:,:,10,4) = 318 12 57 237 174 219 30 291 66 192 210 228 282 84 21 201 246 183 75 255 300 156 93 138 273 48 309 111 129 147 39 327 264 120 165 102 M1(:,:,11,4) = 353 13 63 263 193 243 33 323 73 213 233 253 313 93 23 223 273 203 83 283 333 173 103 153 303 53 343 123 143 163 43 363 293 133 183 113 M1(:,:,1,5) = 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 M1(:,:,2,5) = 39 5 10 30 23 28 7 36 11 25 27 29 35 13 6 26 31 24 12 32 37 21 14 19 34 9 38 16 18 20 8 40 33 17 22 15 M1(:,:,3,5) = 74 6 16 56 42 52 10 68 18 46 50 54 66 22 8 48 58 44 20 60 70 38 24 34 64 14 72 28 32 36 12 76 62 30 40 26 M1(:,:,4,5) = 109 7 22 82 61 76 13 100 25 67 73 79 97 31 10 70 85 64 28 88 103 55 34 49 94 19 106 40 46 52 16 112 91 43 58 37 M1(:,:,5,5) = 144 8 28 108 80 100 16 132 32 88 96 104 128 40 12 92 112 84 36 116 136 72 44 64 124 24 140 52 60 68 20 148 120 56 76 48 M1(:,:,6,5) = 179 9 34 134 99 124 19 164 39 109 119 129 159 49 14 114 139 104 44 144 169 89 54 79 154 29 174 64 74 84 24 184 149 69 94 59 M1(:,:,7,5) = 214 10 40 160 118 148 22 196 46 130 142 154 190 58 16 136 166 124 52 172 202 106 64 94 184 34 208 76 88 100 28 220 178 82 112 70 M1(:,:,8,5) = 249 11 46 186 137 172 25 228 53 151 165 179 221 67 18 158 193 144 60 200 235 123 74 109 214 39 242 88 102 116 32 256 207 95 130 81 M1(:,:,9,5) = 284 12 52 212 156 196 28 260 60 172 188 204 252 76 20 180 220 164 68 228 268 140 84 124 244 44 276 100 116 132 36 292 236 108 148 92 M1(:,:,10,5) = 319 13 58 238 175 220 31 292 67 193 211 229 283 85 22 202 247 184 76 256 301 157 94 139 274 49 310 112 130 148 40 328 265 121 166 103 M1(:,:,11,5) = 354 14 64 264 194 244 34 324 74 214 234 254 314 94 24 224 274 204 84 284 334 174 104 154 304 54 344 124 144 164 44 364 294 134 184 114 M1(:,:,1,6) = 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 M1(:,:,2,6) = 40 6 11 31 24 29 8 37 12 26 28 30 36 14 7 27 32 25 13 33 38 22 15 20 35 10 39 17 19 21 9 41 34 18 23 16 M1(:,:,3,6) = 75 7 17 57 43 53 11 69 19 47 51 55 67 23 9 49 59 45 21 61 71 39 25 35 65 15 73 29 33 37 13 77 63 31 41 27 M1(:,:,4,6) = 110 8 23 83 62 77 14 101 26 68 74 80 98 32 11 71 86 65 29 89 104 56 35 50 95 20 107 41 47 53 17 113 92 44 59 38 M1(:,:,5,6) = 145 9 29 109 81 101 17 133 33 89 97 105 129 41 13 93 113 85 37 117 137 73 45 65 125 25 141 53 61 69 21 149 121 57 77 49 M1(:,:,6,6) = 180 10 35 135 100 125 20 165 40 110 120 130 160 50 15 115 140 105 45 145 170 90 55 80 155 30 175 65 75 85 25 185 150 70 95 60 M1(:,:,7,6) = 215 11 41 161 119 149 23 197 47 131 143 155 191 59 17 137 167 125 53 173 203 107 65 95 185 35 209 77 89 101 29 221 179 83 113 71 M1(:,:,8,6) = 250 12 47 187 138 173 26 229 54 152 166 180 222 68 19 159 194 145 61 201 236 124 75 110 215 40 243 89 103 117 33 257 208 96 131 82 M1(:,:,9,6) = 285 13 53 213 157 197 29 261 61 173 189 205 253 77 21 181 221 165 69 229 269 141 85 125 245 45 277 101 117 133 37 293 237 109 149 93 M1(:,:,10,6) = 320 14 59 239 176 221 32 293 68 194 212 230 284 86 23 203 248 185 77 257 302 158 95 140 275 50 311 113 131 149 41 329 266 122 167 104 M1(:,:,11,6) = 355 15 65 265 195 245 35 325 75 215 235 255 315 95 25 225 275 205 85 285 335 175 105 155 305 55 345 125 145 165 45 365 295 135 185 115 M1(:,:,1,7) = 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 6 M1(:,:,2,7) = 41 7 12 32 25 30 9 38 13 27 29 31 37 15 8 28 33 26 14 34 39 23 16 21 36 11 40 18 20 22 10 42 35 19 24 17 M1(:,:,3,7) = 76 8 18 58 44 54 12 70 20 48 52 56 68 24 10 50 60 46 22 62 72 40 26 36 66 16 74 30 34 38 14 78 64 32 42 28 M1(:,:,4,7) = 111 9 24 84 63 78 15 102 27 69 75 81 99 33 12 72 87 66 30 90 105 57 36 51 96 21 108 42 48 54 18 114 93 45 60 39 M1(:,:,5,7) = 146 10 30 110 82 102 18 134 34 90 98 106 130 42 14 94 114 86 38 118 138 74 46 66 126 26 142 54 62 70 22 150 122 58 78 50 M1(:,:,6,7) = 181 11 36 136 101 126 21 166 41 111 121 131 161 51 16 116 141 106 46 146 171 91 56 81 156 31 176 66 76 86 26 186 151 71 96 61 M1(:,:,7,7) = 216 12 42 162 120 150 24 198 48 132 144 156 192 60 18 138 168 126 54 174 204 108 66 96 186 36 210 78 90 102 30 222 180 84 114 72 M1(:,:,8,7) = 251 13 48 188 139 174 27 230 55 153 167 181 223 69 20 160 195 146 62 202 237 125 76 111 216 41 244 90 104 118 34 258 209 97 132 83 M1(:,:,9,7) = 286 14 54 214 158 198 30 262 62 174 190 206 254 78 22 182 222 166 70 230 270 142 86 126 246 46 278 102 118 134 38 294 238 110 150 94 M1(:,:,10,7) = 321 15 60 240 177 222 33 294 69 195 213 231 285 87 24 204 249 186 78 258 303 159 96 141 276 51 312 114 132 150 42 330 267 123 168 105 M1(:,:,11,7) = 356 16 66 266 196 246 36 326 76 216 236 256 316 96 26 226 276 206 86 286 336 176 106 156 306 56 346 126 146 166 46 366 296 136 186 116 M1(:,:,1,8) = 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 M1(:,:,2,8) = 42 8 13 33 26 31 10 39 14 28 30 32 38 16 9 29 34 27 15 35 40 24 17 22 37 12 41 19 21 23 11 43 36 20 25 18 M1(:,:,3,8) = 77 9 19 59 45 55 13 71 21 49 53 57 69 25 11 51 61 47 23 63 73 41 27 37 67 17 75 31 35 39 15 79 65 33 43 29 M1(:,:,4,8) = 112 10 25 85 64 79 16 103 28 70 76 82 100 34 13 73 88 67 31 91 106 58 37 52 97 22 109 43 49 55 19 115 94 46 61 40 M1(:,:,5,8) = 147 11 31 111 83 103 19 135 35 91 99 107 131 43 15 95 115 87 39 119 139 75 47 67 127 27 143 55 63 71 23 151 123 59 79 51 M1(:,:,6,8) = 182 12 37 137 102 127 22 167 42 112 122 132 162 52 17 117 142 107 47 147 172 92 57 82 157 32 177 67 77 87 27 187 152 72 97 62 M1(:,:,7,8) = 217 13 43 163 121 151 25 199 49 133 145 157 193 61 19 139 169 127 55 175 205 109 67 97 187 37 211 79 91 103 31 223 181 85 115 73 M1(:,:,8,8) = 252 14 49 189 140 175 28 231 56 154 168 182 224 70 21 161 196 147 63 203 238 126 77 112 217 42 245 91 105 119 35 259 210 98 133 84 M1(:,:,9,8) = 287 15 55 215 159 199 31 263 63 175 191 207 255 79 23 183 223 167 71 231 271 143 87 127 247 47 279 103 119 135 39 295 239 111 151 95 M1(:,:,10,8) = 322 16 61 241 178 223 34 295 70 196 214 232 286 88 25 205 250 187 79 259 304 160 97 142 277 52 313 115 133 151 43 331 268 124 169 106 M1(:,:,11,8) = 357 17 67 267 197 247 37 327 77 217 237 257 317 97 27 227 277 207 87 287 337 177 107 157 307 57 347 127 147 167 47 367 297 137 187 117 M1(:,:,1,9) = 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 M1(:,:,2,9) = 43 9 14 34 27 32 11 40 15 29 31 33 39 17 10 30 35 28 16 36 41 25 18 23 38 13 42 20 22 24 12 44 37 21 26 19 M1(:,:,3,9) = 78 10 20 60 46 56 14 72 22 50 54 58 70 26 12 52 62 48 24 64 74 42 28 38 68 18 76 32 36 40 16 80 66 34 44 30 M1(:,:,4,9) = 113 11 26 86 65 80 17 104 29 71 77 83 101 35 14 74 89 68 32 92 107 59 38 53 98 23 110 44 50 56 20 116 95 47 62 41 M1(:,:,5,9) = 148 12 32 112 84 104 20 136 36 92 100 108 132 44 16 96 116 88 40 120 140 76 48 68 128 28 144 56 64 72 24 152 124 60 80 52 M1(:,:,6,9) = 183 13 38 138 103 128 23 168 43 113 123 133 163 53 18 118 143 108 48 148 173 93 58 83 158 33 178 68 78 88 28 188 153 73 98 63 M1(:,:,7,9) = 218 14 44 164 122 152 26 200 50 134 146 158 194 62 20 140 170 128 56 176 206 110 68 98 188 38 212 80 92 104 32 224 182 86 116 74 M1(:,:,8,9) = 253 15 50 190 141 176 29 232 57 155 169 183 225 71 22 162 197 148 64 204 239 127 78 113 218 43 246 92 106 120 36 260 211 99 134 85 M1(:,:,9,9) = 288 16 56 216 160 200 32 264 64 176 192 208 256 80 24 184 224 168 72 232 272 144 88 128 248 48 280 104 120 136 40 296 240 112 152 96 M1(:,:,10,9) = 323 17 62 242 179 224 35 296 71 197 215 233 287 89 26 206 251 188 80 260 305 161 98 143 278 53 314 116 134 152 44 332 269 125 170 107 M1(:,:,11,9) = 358 18 68 268 198 248 38 328 78 218 238 258 318 98 28 228 278 208 88 288 338 178 108 158 308 58 348 128 148 168 48 368 298 138 188 118 M1(:,:,1,10) = 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 9 M1(:,:,2,10) = 44 10 15 35 28 33 12 41 16 30 32 34 40 18 11 31 36 29 17 37 42 26 19 24 39 14 43 21 23 25 13 45 38 22 27 20 M1(:,:,3,10) = 79 11 21 61 47 57 15 73 23 51 55 59 71 27 13 53 63 49 25 65 75 43 29 39 69 19 77 33 37 41 17 81 67 35 45 31 M1(:,:,4,10) = 114 12 27 87 66 81 18 105 30 72 78 84 102 36 15 75 90 69 33 93 108 60 39 54 99 24 111 45 51 57 21 117 96 48 63 42 M1(:,:,5,10) = 149 13 33 113 85 105 21 137 37 93 101 109 133 45 17 97 117 89 41 121 141 77 49 69 129 29 145 57 65 73 25 153 125 61 81 53 M1(:,:,6,10) = 184 14 39 139 104 129 24 169 44 114 124 134 164 54 19 119 144 109 49 149 174 94 59 84 159 34 179 69 79 89 29 189 154 74 99 64 M1(:,:,7,10) = 219 15 45 165 123 153 27 201 51 135 147 159 195 63 21 141 171 129 57 177 207 111 69 99 189 39 213 81 93 105 33 225 183 87 117 75 M1(:,:,8,10) = 254 16 51 191 142 177 30 233 58 156 170 184 226 72 23 163 198 149 65 205 240 128 79 114 219 44 247 93 107 121 37 261 212 100 135 86 M1(:,:,9,10) = 289 17 57 217 161 201 33 265 65 177 193 209 257 81 25 185 225 169 73 233 273 145 89 129 249 49 281 105 121 137 41 297 241 113 153 97 M1(:,:,10,10) = 324 18 63 243 180 225 36 297 72 198 216 234 288 90 27 207 252 189 81 261 306 162 99 144 279 54 315 117 135 153 45 333 270 126 171 108 M1(:,:,11,10) = 359 19 69 269 199 249 39 329 79 219 239 259 319 99 29 229 279 209 89 289 339 179 109 159 309 59 349 129 149 169 49 369 299 139 189 119 M1(:,:,1,11) = 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 M1(:,:,2,11) = 45 11 16 36 29 34 13 42 17 31 33 35 41 19 12 32 37 30 18 38 43 27 20 25 40 15 44 22 24 26 14 46 39 23 28 21 M1(:,:,3,11) = 80 12 22 62 48 58 16 74 24 52 56 60 72 28 14 54 64 50 26 66 76 44 30 40 70 20 78 34 38 42 18 82 68 36 46 32 M1(:,:,4,11) = 115 13 28 88 67 82 19 106 31 73 79 85 103 37 16 76 91 70 34 94 109 61 40 55 100 25 112 46 52 58 22 118 97 49 64 43 M1(:,:,5,11) = 150 14 34 114 86 106 22 138 38 94 102 110 134 46 18 98 118 90 42 122 142 78 50 70 130 30 146 58 66 74 26 154 126 62 82 54 M1(:,:,6,11) = 185 15 40 140 105 130 25 170 45 115 125 135 165 55 20 120 145 110 50 150 175 95 60 85 160 35 180 70 80 90 30 190 155 75 100 65 M1(:,:,7,11) = 220 16 46 166 124 154 28 202 52 136 148 160 196 64 22 142 172 130 58 178 208 112 70 100 190 40 214 82 94 106 34 226 184 88 118 76 M1(:,:,8,11) = 255 17 52 192 143 178 31 234 59 157 171 185 227 73 24 164 199 150 66 206 241 129 80 115 220 45 248 94 108 122 38 262 213 101 136 87 M1(:,:,9,11) = 290 18 58 218 162 202 34 266 66 178 194 210 258 82 26 186 226 170 74 234 274 146 90 130 250 50 282 106 122 138 42 298 242 114 154 98 M1(:,:,10,11) = 325 19 64 244 181 226 37 298 73 199 217 235 289 91 28 208 253 190 82 262 307 163 100 145 280 55 316 118 136 154 46 334 271 127 172 109 M1(:,:,11,11) = 360 20 70 270 200 250 40 330 80 220 240 260 320 100 30 230 280 210 90 290 340 180 110 160 310 60 350 130 150 170 50 370 300 140 190 120
M2
M2 =
M2(:,:,1,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,1,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,2,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,3,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,4,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,5,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,6,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,7,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,8,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,9,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,10,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,2,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,3,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,4,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,5,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,6,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,7,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,8,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,9,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,10,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,11,11,1) = 35 1 6 26 19 24 3 32 7 21 23 25 31 9 2 22 27 20 8 28 33 17 10 15 30 5 34 12 14 16 4 36 29 13 18 11 M2(:,:,1,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,4,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,5,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,6,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,7,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,8,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,9,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,10,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,11,1,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,1,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,4,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,5,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,6,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,7,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,8,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,9,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,10,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,11,2,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,1,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,4,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,5,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,6,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,7,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,8,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,9,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,10,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,11,3,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,1,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,4,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,5,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,6,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,7,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,8,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,9,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,10,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,11,4,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,1,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,4,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,5,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,6,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,7,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,8,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,9,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,10,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,11,5,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,1,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,4,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,5,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,6,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,7,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,8,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,9,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,10,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,11,6,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,1,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,4,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,5,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,6,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,7,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,8,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,9,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,10,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,11,7,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,1,8,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,2,8,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708 5.5708 37.5708 30.5708 14.5708 19.5708 12.5708 M2(:,:,3,8,2) = 36.5708 2.5708 7.5708 27.5708 20.5708 25.5708 4.5708 33.5708 8.5708 22.5708 24.5708 26.5708 32.5708 10.5708 3.5708 23.5708 28.5708 21.5708 9.5708 29.5708 34.5708 18.5708 11.5708 16.5708 31.5708 6.5708 35.5708 13.5708 15.5708 17.5708
Access the matrix produced by the n^th k and the m^th j using M(:,:,n,k). Example:
M1(:,:,2,3)
ans = 6×6
37 3 8 28 21 26 5 34 9 23 25 27 33 11 4 24 29 22 10 30 35 19 12 17 32 7 36 14 16 18 6 38 31 15 20 13
Adam Danz on 18 Feb 2024
Yes, this fits the template in my demo: M1{kk,jj} = k(kk)*magic(6)+j(jj);
PS on 20 Feb 2024
I used 1st method and obtained a 6x1 matrix inside M2 cell array of size 11x11x5. I had to take average of this along 2 dimensions and finally obtain a 6x1 matrix inside 11x1 cell array, so i modified the code like this :
% Loop iterations
k = 0:10;
j = 0:10;
p = 0:pi/2:2*pi;
% Preallocate cell arrays
C1 = cell(numel(k),numel(j));
M2 = cell(numel(k),numel(j),numel(p));
XT1d_temp = cell(numel(k),numel(j),numel(p));
XT1d_max = cell(numel(k),numel(j));
XT1d_rho_max = cell(numel(k));
% Produce matrices in a loop
for kk = 1:numel(k)
for jj = 1:numel(j)
M1{kk,jj} = k(kk)*magic(6)+j(jj);
for pp = 1:numel(p)
M2{kk,jj,pp} = magic(6)+p(pp);
XT1d_temp{kk,jj,pp}(1,:) = 10*log10((sum(M2{kk,jj,pp}(1,:))-(M2{kk,jj,pp} (1,1)))./(M2{kk,jj,pp}(1,1)));
XT1d_temp{kk,jj,pp}(2,:) = 10*log10((sum(M2{kk,jj,pp}(2,:))-(M2{kk,jj,pp}(2,2)))./(M2{kk,jj,pp}(2,2)));
XT1d_temp{kk,jj,theta_num}(3,:) = 10*log10((sum(M2{kk,jj,pp}(3,:))-(M2{kk,jj,pp}(3,3)))./(M2{kk,jj,pp}(3,3)));
XT1d_temp{kk,jj,pp}(4,:) = 10*log10((sum(M2{kk,jj,pp}(4,:))-(M2{kk,jj,pp}(4,4)))./(M2{kk,jj,pp}(4,4)));
XT1d_temp{kk,jj,pp}(5,:) = 10*log10((sum(M2{kk,jj,pp}(5,:))-(M2{kk,jj,pp}(5,5)))./(M2{kk,jj,pp}(5,5)));
XT1d_temp{kk,jj,pp}(6,:) = 10*log10((sum(M2{kk,jj,pp}(6,:))-(PoutZ{kk,jj,pp}(6,6)))./(M2{kk,jj,pp}(6,6)));
XT1d_temp{kk,jj,pp}(isinf(XT1d_temp{kk,jj,theta_num})) = -100;
end
XT1d_max{kk,jj} = mean(XT1d_temp{kk,jj},3);
end
XT1d_rho_max{kk} = (mean(XT1d_max{kk,jj},2));
end
Is this the right way to take the mean? However XT1d_rho_max is 11x11 cell array, but the matrix is only in 11x1 hence rest of the cell entries are blank. While initialising should i define cell array for XT1d_rho_max differently?

### Categories

Find more on Scatter Plots in Help Center and File Exchange

R2019b

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!