# Is it possible to create all possible swaps/permutations within matrix?

1 view (last 30 days)
Triveni on 1 Sep 2021
Edited: Walter Roberson on 1 Sep 2021
I have a matrix A. I want to find all possible swaps/permutations in the format A(:,:,1:i)
A =
20 20.05 19.95
20.05 20 19.95
19.95 20 20.05
A(:,:,1) =
20 20.05 19.95
20.05 20 19.95
19.95 20 20.05
A(:,:,2) =
20 20.05 19.95
20.05 20 19.95
20 19.95 20.05
A(:,:,3) =
20.05 20 19.95
20.05 20 19.95
19.95 20 20.05

Jan on 1 Sep 2021
Edited: Jan on 1 Sep 2021
A = reshape(1:9, 3, 3);
p = perms(1:9);
B = zeros(3, 3, size(p, 1));
for k = 1:size(p, 1)
B(:, :, k) = reshape(A(p(k, :)), 3, 3);
end
Or without a loop:
A = reshape(1:9, 3, 3);
C = permute(reshape(A(perms(1:9)), [], 3, 3), [2, 3, 1]);
##### 2 CommentsShowHide 1 older comment
Triveni on 1 Sep 2021
Edited: Walter Roberson on 1 Sep 2021
A= reshape(1:8, 2,4);
C = permute(reshape(A(perms(1:8)), [], 2, 4), [2, 3, 1]);
C
C =
C(:,:,1) = 8 6 4 2 7 5 3 1 C(:,:,2) = 8 6 4 1 7 5 3 2 C(:,:,3) = 8 6 4 3 7 5 2 1 C(:,:,4) = 8 6 4 1 7 5 2 3 C(:,:,5) = 8 6 4 3 7 5 1 2 C(:,:,6) = 8 6 4 2 7 5 1 3 C(:,:,7) = 8 6 3 2 7 5 4 1 C(:,:,8) = 8 6 3 1 7 5 4 2 C(:,:,9) = 8 6 3 4 7 5 2 1 C(:,:,10) = 8 6 3 1 7 5 2 4 C(:,:,11) = 8 6 3 4 7 5 1 2 C(:,:,12) = 8 6 3 2 7 5 1 4 C(:,:,13) = 8 6 2 3 7 5 4 1 C(:,:,14) = 8 6 2 1 7 5 4 3 C(:,:,15) = 8 6 2 4 7 5 3 1 C(:,:,16) = 8 6 2 1 7 5 3 4 C(:,:,17) = 8 6 2 4 7 5 1 3 C(:,:,18) = 8 6 2 3 7 5 1 4 C(:,:,19) = 8 6 1 3 7 5 4 2 C(:,:,20) = 8 6 1 2 7 5 4 3 C(:,:,21) = 8 6 1 4 7 5 3 2 C(:,:,22) = 8 6 1 2 7 5 3 4 C(:,:,23) = 8 6 1 4 7 5 2 3 C(:,:,24) = 8 6 1 3 7 5 2 4 C(:,:,25) = 8 6 5 2 7 4 3 1 C(:,:,26) = 8 6 5 1 7 4 3 2 C(:,:,27) = 8 6 5 3 7 4 2 1 C(:,:,28) = 8 6 5 1 7 4 2 3 C(:,:,29) = 8 6 5 3 7 4 1 2 C(:,:,30) = 8 6 5 2 7 4 1 3 C(:,:,31) = 8 6 3 2 7 4 5 1 C(:,:,32) = 8 6 3 1 7 4 5 2 C(:,:,33) = 8 6 3 5 7 4 2 1 C(:,:,34) = 8 6 3 1 7 4 2 5 C(:,:,35) = 8 6 3 5 7 4 1 2 C(:,:,36) = 8 6 3 2 7 4 1 5 C(:,:,37) = 8 6 2 3 7 4 5 1 C(:,:,38) = 8 6 2 1 7 4 5 3 C(:,:,39) = 8 6 2 5 7 4 3 1 C(:,:,40) = 8 6 2 1 7 4 3 5 C(:,:,41) = 8 6 2 5 7 4 1 3 C(:,:,42) = 8 6 2 3 7 4 1 5 C(:,:,43) = 8 6 1 3 7 4 5 2 C(:,:,44) = 8 6 1 2 7 4 5 3 C(:,:,45) = 8 6 1 5 7 4 3 2 C(:,:,46) = 8 6 1 2 7 4 3 5 C(:,:,47) = 8 6 1 5 7 4 2 3 C(:,:,48) = 8 6 1 3 7 4 2 5 C(:,:,49) = 8 6 5 2 7 3 4 1 C(:,:,50) = 8 6 5 1 7 3 4 2 C(:,:,51) = 8 6 5 4 7 3 2 1 C(:,:,52) = 8 6 5 1 7 3 2 4 C(:,:,53) = 8 6 5 4 7 3 1 2 C(:,:,54) = 8 6 5 2 7 3 1 4 C(:,:,55) = 8 6 4 2 7 3 5 1 C(:,:,56) = 8 6 4 1 7 3 5 2 C(:,:,57) = 8 6 4 5 7 3 2 1 C(:,:,58) = 8 6 4 1 7 3 2 5 C(:,:,59) = 8 6 4 5 7 3 1 2 C(:,:,60) = 8 6 4 2 7 3 1 5 C(:,:,61) = 8 6 2 4 7 3 5 1 C(:,:,62) = 8 6 2 1 7 3 5 4 C(:,:,63) = 8 6 2 5 7 3 4 1 C(:,:,64) = 8 6 2 1 7 3 4 5 C(:,:,65) = 8 6 2 5 7 3 1 4 C(:,:,66) = 8 6 2 4 7 3 1 5 C(:,:,67) = 8 6 1 4 7 3 5 2 C(:,:,68) = 8 6 1 2 7 3 5 4 C(:,:,69) = 8 6 1 5 7 3 4 2 C(:,:,70) = 8 6 1 2 7 3 4 5 C(:,:,71) = 8 6 1 5 7 3 2 4 C(:,:,72) = 8 6 1 4 7 3 2 5 C(:,:,73) = 8 6 5 3 7 2 4 1 C(:,:,74) = 8 6 5 1 7 2 4 3 C(:,:,75) = 8 6 5 4 7 2 3 1 C(:,:,76) = 8 6 5 1 7 2 3 4 C(:,:,77) = 8 6 5 4 7 2 1 3 C(:,:,78) = 8 6 5 3 7 2 1 4 C(:,:,79) = 8 6 4 3 7 2 5 1 C(:,:,80) = 8 6 4 1 7 2 5 3 C(:,:,81) = 8 6 4 5 7 2 3 1 C(:,:,82) = 8 6 4 1 7 2 3 5 C(:,:,83) = 8 6 4 5 7 2 1 3 C(:,:,84) = 8 6 4 3 7 2 1 5 C(:,:,85) = 8 6 3 4 7 2 5 1 C(:,:,86) = 8 6 3 1 7 2 5 4 C(:,:,87) = 8 6 3 5 7 2 4 1 C(:,:,88) = 8 6 3 1 7 2 4 5 C(:,:,89) = 8 6 3 5 7 2 1 4 C(:,:,90) = 8 6 3 4 7 2 1 5 C(:,:,91) = 8 6 1 4 7 2 5 3 C(:,:,92) = 8 6 1 3 7 2 5 4 C(:,:,93) = 8 6 1 5 7 2 4 3 C(:,:,94) = 8 6 1 3 7 2 4 5 C(:,:,95) = 8 6 1 5 7 2 3 4 C(:,:,96) = 8 6 1 4 7 2 3 5 C(:,:,97) = 8 6 5 3 7 1 4 2 C(:,:,98) = 8 6 5 2 7 1 4 3 C(:,:,99) = 8 6 5 4 7 1 3 2 C(:,:,100) = 8 6 5 2 7 1 3 4 C(:,:,101) = 8 6 5 4 7 1 2 3 C(:,:,102) = 8 6 5 3 7 1 2 4 C(:,:,103) = 8 6 4 3 7 1 5 2 C(:,:,104) = 8 6 4 2 7 1 5 3 C(:,:,105) = 8 6 4 5 7 1 3 2 C(:,:,106) = 8 6 4 2 7 1 3 5 C(:,:,107) = 8 6 4 5 7 1 2 3 C(:,:,108) = 8 6 4 3 7 1 2 5 C(:,:,109) = 8 6 3 4 7 1 5 2 C(:,:,110) = 8 6 3 2 7 1 5 4 C(:,:,111) = 8 6 3 5 7 1 4 2 C(:,:,112) = 8 6 3 2 7 1 4 5 C(:,:,113) = 8 6 3 5 7 1 2 4 C(:,:,114) = 8 6 3 4 7 1 2 5 C(:,:,115) = 8 6 2 4 7 1 5 3 C(:,:,116) = 8 6 2 3 7 1 5 4 C(:,:,117) = 8 6 2 5 7 1 4 3 C(:,:,118) = 8 6 2 3 7 1 4 5 C(:,:,119) = 8 6 2 5 7 1 3 4 C(:,:,120) = 8 6 2 4 7 1 3 5 C(:,:,121) = 8 5 4 2 7 6 3 1 C(:,:,122) = 8 5 4 1 7 6 3 2 C(:,:,123) = 8 5 4 3 7 6 2 1 C(:,:,124) = 8 5 4 1 7 6 2 3 C(:,:,125) = 8 5 4 3 7 6 1 2 C(:,:,126) = 8 5 4 2 7 6 1 3 C(:,:,127) = 8 5 3 2 7 6 4 1 C(:,:,128) = 8 5 3 1 7 6 4 2 C(:,:,129) = 8 5 3 4 7 6 2 1 C(:,:,130) = 8 5 3 1 7 6 2 4 C(:,:,131) = 8 5 3 4 7 6 1 2 C(:,:,132) = 8 5 3 2 7 6 1 4 C(:,:,133) = 8 5 2 3 7 6 4 1 C(:,:,134) = 8 5 2 1 7 6 4 3 C(:,:,135) = 8 5 2 4 7 6 3 1 C(:,:,136) = 8 5 2 1 7 6 3 4 C(:,:,137) = 8 5 2 4 7 6 1 3 C(:,:,138) = 8 5 2 3 7 6 1 4 C(:,:,139) = 8 5 1 3 7 6 4 2 C(:,:,140) = 8 5 1 2 7 6 4 3 C(:,:,141) = 8 5 1 4 7 6 3 2 C(:,:,142) = 8 5 1 2 7 6 3 4 C(:,:,143) = 8 5 1 4 7 6 2 3 C(:,:,144) = 8 5 1 3 7 6 2 4 C(:,:,145) = 8 5 6 2 7 4 3 1 C(:,:,146) = 8 5 6 1 7 4 3 2 C(:,:,147) = 8 5 6 3 7 4 2 1 C(:,:,148) = 8 5 6 1 7 4 2 3 C(:,:,149) = 8 5 6 3 7 4 1 2 C(:,:,150) = 8 5 6 2 7 4 1 3 C(:,:,151) = 8 5 3 2 7 4 6 1 C(:,:,152) = 8 5 3 1 7 4 6 2 C(:,:,153) = 8 5 3 6 7 4 2 1 C(:,:,154) = 8 5 3 1 7 4 2 6 C(:,:,155) = 8 5 3 6 7 4 1 2 C(:,:,156) = 8 5 3 2 7 4 1 6 C(:,:,157) = 8 5 2 3 7 4 6 1 C(:,:,158) = 8 5 2 1 7 4 6 3 C(:,:,159) = 8 5 2 6 7 4 3 1 C(:,:,160) = 8 5 2 1 7 4 3 6 C(:,:,161) = 8 5 2 6 7 4 1 3 C(:,:,162) = 8 5 2 3 7 4 1 6 C(:,:,163) = 8 5 1 3 7 4 6 2 C(:,:,164) = 8 5 1 2 7 4 6 3 C(:,:,165) = 8 5 1 6 7 4 3 2 C(:,:,166) = 8 5 1 2 7 4 3 6 C(:,:,167) = 8 5 1 6 7 4 2 3 C(:,:,168) = 8 5 1 3 7 4 2 6 C(:,:,169) = 8 5 6 2 7 3 4 1 C(:,:,170) = 8 5 6 1 7 3 4 2 C(:,:,171) = 8 5 6 4 7 3 2 1 C(:,:,172) = 8 5 6 1 7 3 2 4 C(:,:,173) = 8 5 6 4 7 3 1 2 C(:,:,174) = 8 5 6 2 7 3 1 4 C(:,:,175) = 8 5 4 2 7 3 6 1 C(:,:,176) = 8 5 4 1 7 3 6 2 C(:,:,177) = 8 5 4 6 7 3 2 1 C(:,:,178) = 8 5 4 1 7 3 2 6 C(:,:,179) = 8 5 4 6 7 3 1 2 C(:,:,180) = 8 5 4 2 7 3 1 6 C(:,:,181) = 8 5 2 4 7 3 6 1 C(:,:,182) = 8 5 2 1 7 3 6 4 C(:,:,183) = 8 5 2 6 7 3 4 1 C(:,:,184) = 8 5 2 1 7 3 4 6 C(:,:,185) = 8 5 2 6 7 3 1 4 C(:,:,186) = 8 5 2 4 7 3 1 6 C(:,:,187) = 8 5 1 4 7 3 6 2 C(:,:,188) = 8 5 1 2 7 3 6 4 C(:,:,189) = 8 5 1 6 7 3 4 2 C(:,:,190) = 8 5 1 2 7 3 4 6 C(:,:,191) = 8 5 1 6 7 3 2 4 C(:,:,192) = 8 5 1 4 7 3 2 6 C(:,:,193) = 8 5 6 3 7 2 4 1 C(:,:,194) = 8 5 6 1 7 2 4 3 C(:,:,195) = 8 5 6 4 7 2 3 1 C(:,:,196) = 8 5 6 1 7 2 3 4 C(:,:,197) = 8 5 6 4 7 2 1 3 C(:,:,198) = 8 5 6 3 7 2 1 4 C(:,:,199) = 8 5 4 3 7 2 6 1 C(:,:,200) = 8 5 4 1 7 2 6 3 C(:,:,201) = 8 5 4 6 7 2 3 1 C(:,:,202) = 8 5 4 1 7 2 3 6 C(:,:,203) = 8 5 4 6 7 2 1 3 C(:,:,204) = 8 5 4 3 7 2 1 6 C(:,:,205) = 8 5 3 4 7 2 6 1 C(:,:,206) = 8 5 3 1 7 2 6 4 C(:,:,207) = 8 5 3 6 7 2 4 1 C(:,:,208) = 8 5 3 1 7 2 4 6 C(:,:,209) = 8 5 3 6 7 2 1 4 C(:,:,210) = 8 5 3 4 7 2 1 6 C(:,:,211) = 8 5 1 4 7 2 6 3 C(:,:,212) = 8 5 1 3 7 2 6 4 C(:,:,213) = 8 5 1 6 7 2 4 3 C(:,:,214) = 8 5 1 3 7 2 4 6 C(:,:,215) = 8 5 1 6 7 2 3 4 C(:,:,216) = 8 5 1 4 7 2 3 6 C(:,:,217) = 8 5 6 3 7 1 4 2 C(:,:,218) = 8 5 6 2 7 1 4 3 C(:,:,219) = 8 5 6 4 7 1 3 2 C(:,:,220) = 8 5 6 2 7 1 3 4 C(:,:,221) = 8 5 6 4 7 1 2 3 C(:,:,222) = 8 5 6 3 7 1 2 4 C(:,:,223) = 8 5 4 3 7 1 6 2 C(:,:,224) = 8 5 4 2 7 1 6 3 C(:,:,225) = 8 5 4 6 7 1 3 2 C(:,:,226) = 8 5 4 2 7 1 3 6 C(:,:,227) = 8 5 4 6 7 1 2 3 C(:,:,228) = 8 5 4 3 7 1 2 6 C(:,:,229) = 8 5 3 4 7 1 6 2 C(:,:,230) = 8 5 3 2 7 1 6 4 C(:,:,231) = 8 5 3 6 7 1 4 2 C(:,:,232) = 8 5 3 2 7 1 4 6 C(:,:,233) = 8 5 3 6 7 1 2 4 C(:,:,234) = 8 5 3 4 7 1 2 6 C(:,:,235) = 8 5 2 4 7 1 6 3 C(:,:,236) = 8 5 2 3 7 1 6 4 C(:,:,237) = 8 5 2 6 7 1 4 3 C(:,:,238) = 8 5 2 3 7 1 4 6 C(:,:,239) = 8 5 2 6 7 1 3 4 C(:,:,240) = 8 5 2 4 7 1 3 6 C(:,:,241) = 8 4 5 2 7 6 3 1 C(:,:,242) = 8 4 5 1 7 6 3 2 C(:,:,243) = 8 4 5 3 7 6 2 1 C(:,:,244) = 8 4 5 1 7 6 2 3 C(:,:,245) = 8 4 5 3 7 6 1 2 C(:,:,246) = 8 4 5 2 7 6 1 3 C(:,:,247) = 8 4 3 2 7 6 5 1 C(:,:,248) = 8 4 3 1 7 6 5 2 C(:,:,249) = 8 4 3 5 7 6 2 1 C(:,:,250) = 8 4 3 1 7 6 2 5 C(:,:,251) = 8 4 3 5 7 6 1 2 C(:,:,252) = 8 4 3 2 7 6 1 5 C(:,:,253) = 8 4 2 3 7 6 5 1 C(:,:,254) = 8 4 2 1 7 6 5 3 C(:,:,255) = 8 4 2 5 7 6 3 1 C(:,:,256) = 8 4 2 1 7 6 3 5 C(:,:,257) = 8 4 2 5 7 6 1 3 C(:,:,258) = 8 4 2 3 7 6 1 5 C(:,:,259) = 8 4 1 3 7 6 5 2 C(:,:,260) = 8 4 1 2 7 6 5 3 C(:,:,261) = 8 4 1 5 7 6 3 2 C(:,:,262) = 8 4 1 2 7 6 3 5 C(:,:,263) = 8 4 1 5 7 6 2 3 C(:,:,264) = 8 4 1 3 7 6 2 5 C(:,:,265) = 8 4 6 2 7 5 3 1 C(:,:,266) = 8 4 6 1 7 5 3 2 C(:,:,267) = 8 4 6 3 7 5 2 1 C(:,:,268) = 8 4 6 1 7 5 2 3 C(:,:,269) = 8 4 6 3 7 5 1 2 C(:,:,270) = 8 4 6 2 7 5 1 3 C(:,:,271) = 8 4 3 2 7 5 6 1 C(:,:,272) = 8 4 3 1 7 5 6 2 C(:,:,273) = 8 4 3 6 7 5 2 1 C(:,:,274) = 8 4 3 1 7 5 2 6 C(:,:,275) = 8 4 3 6 7 5 1 2 C(:,:,276) = 8 4 3 2 7 5 1 6 C(:,:,277) = 8 4 2 3 7 5 6 1 C(:,:,278) = 8 4 2 1 7 5 6 3 C(:,:,279) = 8 4 2 6 7 5 3 1 C(:,:,280) = 8 4 2 1 7 5 3 6 C(:,:,281) = 8 4 2 6 7 5 1 3 C(:,:,282) = 8 4 2 3 7 5 1 6 C(:,:,283) = 8 4 1 3 7 5 6 2 C(:,:,284) = 8 4 1 2 7 5 6 3 C(:,:,285) = 8 4 1 6 7 5 3 2 C(:,:,286) = 8 4 1 2 7 5 3 6 C(:,:,287) = 8 4 1 6 7 5 2 3 C(:,:,288) = 8 4 1 3 7 5 2 6 C(:,:,289) = 8 4 6 2 7 3 5 1 C(:,:,290) = 8 4 6 1 7 3 5 2 C(:,:,291) = 8 4 6 5 7 3 2 1 C(:,:,292) = 8 4 6 1 7 3 2 5 C(:,:,293) = 8 4 6 5 7 3 1 2 C(:,:,294) = 8 4 6 2 7 3 1 5 C(:,:,295) = 8 4 5 2 7 3 6 1 C(:,:,296) = 8 4 5 1 7 3 6 2 C(:,:,297) = 8 4 5 6 7 3 2 1 C(:,:,298) = 8 4 5 1 7 3 2 6 C(:,:,299) = 8 4 5 6 7 3 1 2 C(:,:,300) = 8 4 5 2 7 3 1 6 C(:,:,301) = 8 4 2 5 7 3 6 1 C(:,:,302) = 8 4 2 1 7 3 6 5 C(:,:,303) = 8 4 2 6 7 3 5 1 C(:,:,304) = 8 4 2 1 7 3 5 6 C(:,:,305) = 8 4 2 6 7 3 1 5 C(:,:,306) = 8 4 2 5 7 3 1 6 C(:,:,307) = 8 4 1 5 7 3 6 2 C(:,:,308) = 8 4 1 2 7 3 6 5 C(:,:,309) = 8 4 1 6 7 3 5 2 C(:,:,310) = 8 4 1 2 7 3 5 6 C(:,:,311) = 8 4 1 6 7 3 2 5 C(:,:,312) = 8 4 1 5 7 3 2 6 C(:,:,313) = 8 4 6 3 7 2 5 1 C(:,:,314) = 8 4 6 1 7 2 5 3 C(:,:,315) = 8 4 6 5 7 2 3 1 C(:,:,316) = 8 4 6 1 7 2 3 5 C(:,:,317) = 8 4 6 5 7 2 1 3 C(:,:,318) = 8 4 6 3 7 2 1 5 C(:,:,319) = 8 4 5 3 7 2 6 1 C(:,:,320) = 8 4 5 1 7 2 6 3 C(:,:,321) = 8 4 5 6 7 2 3 1 C(:,:,322) = 8 4 5 1 7 2 3 6 C(:,:,323) = 8 4 5 6 7 2 1 3 C(:,:,324) = 8 4 5 3 7 2 1 6 C(:,:,325) = 8 4 3 5 7 2 6 1 C(:,:,326) = 8 4 3 1 7 2 6 5 C(:,:,327) = 8 4 3 6 7 2 5 1 C(:,:,328) = 8 4 3 1 7 2 5 6 C(:,:,329) = 8 4 3 6 7 2 1 5 C(:,:,330) = 8 4 3 5 7 2 1 6 C(:,:,331) = 8 4 1 5 7 2 6 3 C(:,:,332) = 8 4 1 3 7 2 6 5 C(:,:,333) = 8 4 1 6 7 2 5 3 C(:,:,334) = 8 4 1 3 7 2 5 6 C(:,:,335) = 8 4 1 6 7 2 3 5 C(:,:,336) = 8 4 1 5 7 2 3 6 C(:,:,337) = 8 4 6 3 7 1 5 2 C(:,:,338) = 8 4 6 2 7 1 5 3 C(:,:,339) = 8 4 6 5 7 1 3 2 C(:,:,340) = 8 4 6 2 7 1 3 5 C(:,:,341) = 8 4 6 5 7 1 2 3 C(:,:,342) = 8 4 6 3 7 1 2 5 C(:,:,343) = 8 4 5 3 7 1 6 2 C(:,:,344) = 8 4 5 2 7 1 6 3 C(:,:,345) = 8 4 5 6 7 1 3 2 C(:,:,346) = 8 4 5 2 7 1 3 6 C(:,:,347) = 8 4 5 6 7 1 2 3 C(:,:,348) = 8 4 5 3 7 1 2 6 C(:,:,349) = 8 4 3 5 7 1 6 2 C(:,:,350) = 8 4 3 2 7 1 6 5 C(:,:,351) = 8 4 3 6 7 1 5 2 C(:,:,352) = 8 4 3 2 7 1 5 6 C(:,:,353) = 8 4 3 6 7 1 2 5 C(:,:,354) = 8 4 3 5 7 1 2 6 C(:,:,355) = 8 4 2 5 7 1 6 3 C(:,:,356) = 8 4 2 3 7 1 6 5 C(:,:,357) = 8 4 2 6 7 1 5 3 C(:,:,358) = 8 4 2 3 7 1 5 6 C(:,:,359) = 8 4 2 6 7 1 3 5 C(:,:,360) = 8 4 2 5 7 1 3 6 C(:,:,361) = 8 3 5 2 7 6 4 1 C(:,:,362) = 8 3 5 1 7 6 4 2 C(:,:,363) = 8 3 5 4 7 6 2 1 C(:,:,364) = 8 3 5 1 7 6 2 4 C(:,:,365) = 8 3 5 4 7 6 1 2 C(:,:,366) = 8 3 5 2 7 6 1 4 C(:,:,367) = 8 3 4 2 7 6 5 1 C(:,:,368) = 8 3 4 1 7 6 5 2 C(:,:,369) = 8 3 4 5 7 6 2 1 C(:,:,370) = 8 3 4 1 7 6 2 5 C(:,:,371) = 8 3 4 5 7 6 1 2 C(:,:,372) = 8 3 4 2 7 6 1 5 C(:,:,373) = 8 3 2 4 7 6 5 1 C(:,:,374) = 8 3 2 1 7 6 5 4 C(:,:,375) = 8 3 2 5 7 6 4 1 C(:,:,376) = 8 3 2 1 7 6 4 5 C(:,:,377) = 8 3 2 5 7 6 1 4 C(:,:,378) = 8 3 2 4 7 6 1 5 C(:,:,379) = 8 3 1 4 7 6 5 2 C(:,:,380) = 8 3 1 2 7 6 5 4 C(:,:,381) = 8 3 1 5 7 6 4 2 C(:,:,382) = 8 3 1 2 7 6 4 5 C(:,:,383) = 8 3 1 5 7 6 2 4 C(:,:,384) = 8 3 1 4 7 6 2 5 C(:,:,385) = 8 3 6 2 7 5 4 1 C(:,:,386) = 8 3 6 1 7 5 4 2 C(:,:,387) = 8 3 6 4 7 5 2 1 C(:,:,388) = 8 3 6 1 7 5 2 4 C(:,:,389) = 8 3 6 4 7 5 1 2 C(:,:,390) = 8 3 6 2 7 5 1 4 C(:,:,391) = 8 3 4 2 7 5 6 1 C(:,:,392) = 8 3 4 1 7 5 6 2 C(:,:,393) = 8 3 4 6 7 5 2 1 C(:,:,394) = 8 3 4 1 7 5 2 6 C(:,:,395) = 8 3 4 6 7 5 1 2 C(:,:,396) = 8 3 4 2 7 5 1 6 C(:,:,397) = 8 3 2 4 7 5 6 1 C(:,:,398) = 8 3 2 1 7 5 6 4 C(:,:,399) = 8 3 2 6 7 5 4 1 C(:,:,400) = 8 3 2 1 7 5 4 6 C(:,:,401) = 8 3 2 6 7 5 1 4 C(:,:,402) = 8 3 2 4 7 5 1 6 C(:,:,403) = 8 3 1 4 7 5 6 2 C(:,:,404) = 8 3 1 2 7 5 6 4 C(:,:,405) = 8 3 1 6 7 5 4 2 C(:,:,406) = 8 3 1 2 7 5 4 6 C(:,:,407) = 8 3 1 6 7 5 2 4 C(:,:,408) = 8 3 1 4 7 5 2 6 C(:,:,409) = 8 3 6 2 7 4 5 1 C(:,:,410) = 8 3 6 1 7 4 5 2 C(:,:,411) = 8 3 6 5 7 4 2 1 C(:,:,412) = 8 3 6 1 7 4 2 5 C(:,:,413) = 8 3 6 5 7 4 1 2 C(:,:,414) = 8 3 6 2 7 4 1 5 C(:,:,415) = 8 3 5 2 7 4 6 1 C(:,:,416) = 8 3 5 1 7 4 6 2 C(:,:,417) = 8 3 5 6 7 4 2 1 C(:,:,418) = 8 3 5 1 7 4 2 6 C(:,:,419) = 8 3 5 6 7 4 1 2 C(:,:,420) = 8 3 5 2 7 4 1 6 C(:,:,421) = 8 3 2 5 7 4 6 1 C(:,:,422) = 8 3 2 1 7 4 6 5 C(:,:,423) = 8 3 2 6 7 4 5 1 C(:,:,424) = 8 3 2 1 7 4 5 6 C(:,:,425) = 8 3 2 6 7 4 1 5 C(:,:,426) = 8 3 2 5 7 4 1 6 C(:,:,427) = 8 3 1 5 7 4 6 2 C(:,:,428) = 8 3 1 2 7 4 6 5 C(:,:,429) = 8 3 1 6 7 4 5 2 C(:,:,430) = 8 3 1 2 7 4 5 6 C(:,:,431) = 8 3 1 6 7 4 2 5 C(:,:,432) = 8 3 1 5 7 4 2 6 C(:,:,433) = 8 3 6 4 7 2 5 1 C(:,:,434) = 8 3 6 1 7 2 5 4 C(:,:,435) = 8 3 6 5 7 2 4 1 C(:,:,436) = 8 3 6 1 7 2 4 5 C(:,:,437) = 8 3 6 5 7 2 1 4 C(:,:,438) = 8 3 6 4 7 2 1 5 C(:,:,439) = 8 3 5 4 7 2 6 1 C(:,:,440) = 8 3 5 1 7 2 6 4 C(:,:,441) = 8 3 5 6 7 2 4 1 C(:,:,442) = 8 3 5 1 7 2 4 6 C(:,:,443) = 8 3 5 6 7 2 1 4 C(:,:,444) = 8 3 5 4 7 2 1 6 C(:,:,445) = 8 3 4 5 7 2 6 1 C(:,:,446) = 8 3 4 1 7 2 6 5 C(:,:,447) = 8 3 4 6 7 2 5 1 C(:,:,448) = 8 3 4 1 7 2 5 6 C(:,:,449) = 8 3 4 6 7 2 1 5 C(:,:,450) = 8 3 4 5 7 2 1 6 C(:,:,451) = 8 3 1 5 7 2 6 4 C(:,:,452) = 8 3 1 4 7 2 6 5 C(:,:,453) = 8 3 1 6 7 2 5 4 C(:,:,454) = 8 3 1 4 7 2 5 6 C(:,:,455) = 8 3 1 6 7 2 4 5 C(:,:,456) = 8 3 1 5 7 2 4 6 C(:,:,457) = 8 3 6 4 7 1 5 2 C(:,:,458) = 8 3 6 2 7 1 5 4 C(:,:,459) = 8 3 6 5 7 1 4 2 C(:,:,460) = 8 3 6 2 7 1 4 5 C(:,:,461) = 8 3 6 5 7 1 2 4 C(:,:,462) = 8 3 6 4 7 1 2 5 C(:,:,463) = 8 3 5 4 7 1 6 2 C(:,:,464) = 8 3 5 2 7 1 6 4 C(:,:,465) = 8 3 5 6 7 1 4 2 C(:,:,466) = 8 3 5 2 7 1 4 6 C(:,:,467) = 8 3 5 6 7 1 2 4 C(:,:,468) = 8 3 5 4 7 1 2 6 C(:,:,469) = 8 3 4 5 7 1 6 2 C(:,:,470) = 8 3 4 2 7 1 6 5 C(:,:,471) = 8 3 4 6 7 1 5 2 C(:,:,472) = 8 3 4 2 7 1 5 6 C(:,:,473) = 8 3 4 6 7 1 2 5 C(:,:,474) = 8 3 4 5 7 1 2 6 C(:,:,475) = 8 3 2 5 7 1 6 4 C(:,:,476) = 8 3 2 4 7 1 6 5 C(:,:,477) = 8 3 2 6 7 1 5 4 C(:,:,478) = 8 3 2 4 7 1 5 6 C(:,:,479) = 8 3 2 6 7 1 4 5 C(:,:,480) = 8 3 2 5 7 1 4 6 C(:,:,481) = 8 2 5 3 7 6 4 1 C(:,:,482) = 8 2 5 1 7 6 4 3 C(:,:,483) = 8 2 5 4 7 6 3 1 C(:,:,484) = 8 2 5 1 7 6 3 4 C(:,:,485) = 8 2 5 4 7 6 1 3 C(:,:,486) = 8 2 5 3 7 6 1 4 C(:,:,487) = 8 2 4 3 7 6 5 1 C(:,:,488) = 8 2 4 1 7 6 5 3 C(:,:,489) = 8 2 4 5 7 6 3 1 C(:,:,490) = 8 2 4 1 7 6 3 5 C(:,:,491) = 8 2 4 5 7 6 1 3 C(:,:,492) = 8 2 4 3 7 6 1 5 C(:,:,493) = 8 2 3 4 7 6 5 1 C(:,:,494) = 8 2 3 1 7 6 5 4 C(:,:,495) = 8 2 3 5 7 6 4 1 C(:,:,496) = 8 2 3 1 7 6 4 5 C(:,:,497) = 8 2 3 5 7 6 1 4 C(:,:,498) = 8 2 3 4 7 6 1 5 C(:,:,499) = 8 2 1 4 7 6 5 3 C(:,:,500) = 8 2 1 3 7 6 5 4 C(:,:,501) = 8 2 1 5 7 6 4 3 C(:,:,502) = 8 2 1 3 7 6 4 5 C(:,:,503) = 8 2 1 5 7 6 3 4 C(:,:,504) = 8 2 1 4 7 6 3 5 C(:,:,505) = 8 2 6 3 7 5 4 1 C(:,:,506) = 8 2 6 1 7 5 4 3 C(:,:,507) = 8 2 6 4 7 5 3 1 C(:,:,508) = 8 2 6 1 7 5 3 4 C(:,:,509) = 8 2 6 4 7 5 1 3 C(:,:,510) = 8 2 6 3 7 5 1 4 C(:,:,511) = 8 2 4 3 7 5 6 1 C(:,:,512) = 8 2 4 1 7 5 6 3 C(:,:,513) = 8 2 4 6 7 5 3 1 C(:,:,514) = 8 2 4 1 7 5 3 6 C(:,:,515) = 8 2 4 6 7 5 1 3 C(:,:,516) = 8 2 4 3 7 5 1 6 C(:,:,517) = 8 2 3 4 7 5 6 1 C(:,:,518) = 8 2 3 1 7 5 6 4 C(:,:,519) = 8 2 3 6 7 5 4 1 C(:,:,520) = 8 2 3 1 7 5 4 6 C(:,:,521) = 8 2 3 6 7 5 1 4 C(:,:,522) = 8 2 3 4 7 5 1 6 C(:,:,523) = 8 2 1 4 7 5 6 3 C(:,:,524) = 8 2 1 3 7 5 6 4 C(:,:,525) = 8 2 1 6 7 5 4 3 C(:,:,526) = 8 2 1 3 7 5 4 6 C(:,:,527) = 8 2 1 6 7 5 3 4 C(:,:,528) = 8 2 1 4 7 5 3 6 C(:,:,529) = 8 2 6 3 7 4 5 1 C(:,:,530) = 8 2 6 1 7 4 5 3 C(:,:,531) = 8 2 6 5 7 4 3 1 C(:,:,532) = 8 2 6 1 7 4 3 5 C(:,:,533) = 8 2 6 5 7 4 1 3 C(:,:,534) = 8 2 6 3 7 4 1 5 C(:,:,535) = 8 2 5 3 7 4 6 1 C(:,:,536) = 8 2 5 1 7 4 6 3 C(:,:,537) = 8 2 5 6 7 4 3 1 C(:,:,538) = 8 2 5 1 7 4 3 6 C(:,:,539) = 8 2 5 6 7 4 1 3 C(:,:,540) = 8 2 5 3 7 4 1 6 C(:,:,541) = 8 2 3 5 7 4 6 1 C(:,:,542) = 8 2 3 1 7 4 6 5 C(:,:,543) = 8 2 3 6 7 4 5 1 C(:,:,544) = 8 2 3 1 7 4 5 6 C(:,:,545) = 8 2 3 6 7 4 1 5 C(:,:,546) = 8 2 3 5 7 4 1 6 C(:,:,547) = 8 2 1 5 7 4 6 3 C(:,:,548) = 8 2 1 3 7 4 6 5 C(:,:,549) = 8 2 1 6 7 4 5 3 C(:,:,550) = 8 2 1 3 7 4 5 6 C(:,:,551) = 8 2 1 6 7 4 3 5 C(:,:,552) = 8 2 1 5 7 4 3 6 C(:,:,553) = 8 2 6 4 7 3 5 1 C(:,:,554) = 8 2 6 1 7 3 5 4 C(:,:,555) = 8 2 6 5 7 3 4 1 C(:,:,556) = 8 2 6 1 7 3 4 5 C(:,:,557) = 8 2 6 5 7 3 1 4 C(:,:,558) = 8 2 6 4 7 3 1 5 C(:,:,559) = 8 2 5 4 7 3 6 1 C(:,:,560) = 8 2 5 1 7 3 6 4 C(:,:,561) = 8 2 5 6 7 3 4 1 C(:,:,562) = 8 2 5 1 7 3 4 6 C(:,:,563) = 8 2 5 6 7 3 1 4 C(:,:,564) = 8 2 5 4 7 3 1 6 C(:,:,565) = 8 2 4 5 7 3 6 1 C(:,:,566) = 8 2 4 1 7 3 6 5 C(:,:,567) = 8 2 4 6 7 3 5 1 C(:,:,568) = 8 2 4 1 7 3 5 6 C(:,:,569) = 8 2 4 6 7 3 1 5 C(:,:,570) = 8 2 4 5 7 3 1 6 C(:,:,571) = 8 2 1 5 7 3 6 4 C(:,:,572) = 8 2 1 4 7 3 6 5 C(:,:,573) = 8 2 1 6 7 3 5 4 C(:,:,574) = 8 2 1 4 7 3 5 6 C(:,:,575) = 8 2 1 6 7 3 4 5 C(:,:,576) = 8 2 1 5 7 3 4 6 C(:,:,577) = 8 2 6 4 7 1 5 3 C(:,:,578) = 8 2 6 3 7 1 5 4 C(:,:,579) = 8 2 6 5 7 1 4 3 C(:,:,580) = 8 2 6 3 7 1 4 5 C(:,:,581) = 8 2 6 5 7 1 3 4 C(:,:,582) = 8 2 6 4 7 1 3 5 C(:,:,583) = 8 2 5 4 7 1 6 3 C(:,:,584) = 8 2 5 3 7 1 6 4 C(:,:,585) = 8 2 5 6 7 1 4 3 C(:,:,586) = 8 2 5 3 7 1 4 6 C(:,:,587) = 8 2 5 6 7 1 3 4 C(:,:,588) = 8 2 5 4 7 1 3 6 C(:,:,589) = 8 2 4 5 7 1 6 3 C(:,:,590) = 8 2 4 3 7 1 6 5 C(:,:,591) = 8 2 4 6 7 1 5 3 C(:,:,592) = 8 2 4 3 7 1 5 6 C(:,:,593) = 8 2 4 6 7 1 3 5 C(:,:,594) = 8 2 4 5 7 1 3 6 C(:,:,595) = 8 2 3 5 7 1 6 4 C(:,:,596) = 8 2 3 4 7 1 6 5 C(:,:,597) = 8 2 3 6 7 1 5 4 C(:,:,598) = 8 2 3 4 7 1 5 6 C(:,:,599) = 8 2 3 6 7 1 4 5 C(:,:,600) = 8 2 3 5 7 1 4 6 C(:,:,601) = 8 1 5 3 7 6 4 2 C(:,:,602) = 8 1 5 2 7 6 4 3 C(:,:,603) = 8 1 5 4 7 6 3 2 C(:,:,604) = 8 1 5 2 7 6 3 4 C(:,:,605) = 8 1 5 4 7 6 2 3 C(:,:,606) = 8 1 5 3 7 6 2 4 C(:,:,607) = 8 1 4 3 7 6 5 2 C(:,:,608) = 8 1 4 2 7 6 5 3 C(:,:,609) = 8 1 4 5 7 6 3 2 C(:,:,610) = 8 1 4 2 7 6 3 5 C(:,:,611) = 8 1 4 5 7 6 2 3 C(:,:,612) = 8 1 4 3 7 6 2 5 C(:,:,613) = 8 1 3 4 7 6 5 2 C(:,:,614) = 8 1 3 2 7 6 5 4 C(:,:,615) = 8 1 3 5 7 6 4 2 C(:,:,616) = 8 1 3 2 7 6 4 5 C(:,:,617) = 8 1 3 5 7 6 2 4 C(:,:,618) = 8 1 3 4 7 6 2 5 C(:,:,619) = 8 1 2 4 7 6 5 3 C(:,:,620) = 8 1 2 3 7 6 5 4 C(:,:,621) = 8 1 2 5 7 6 4 3 C(:,:,622) = 8 1 2 3 7 6 4 5 C(:,:,623) = 8 1 2 5 7 6 3 4 C(:,:,624) = 8 1 2 4 7 6 3 5 C(:,:,625) = 8 1 6 3 7 5 4 2 C(:,:,626) = 8 1 6 2 7 5 4 3 C(:,:,627) = 8 1 6 4 7 5 3 2 C(:,:,628) = 8 1 6 2 7 5 3 4 C(:,:,629) = 8 1 6 4 7 5 2 3 C(:,:,630) = 8 1 6 3 7 5 2 4 C(:,:,631) = 8 1 4 3 7 5 6 2 C(:,:,632) = 8 1 4 2 7 5 6 3 C(:,:,633) = 8 1 4 6 7 5 3 2 C(:,:,634) = 8 1 4 2 7 5 3 6 C(:,:,635) = 8 1 4 6 7 5 2 3 C(:,:,636) = 8 1 4 3 7 5 2 6 C(:,:,637) = 8 1 3 4 7 5 6 2 C(:,:,638) = 8 1 3 2 7 5 6 4 C(:,:,639) = 8 1 3 6 7 5 4 2 C(:,:,640) = 8 1 3 2 7 5 4 6 C(:,:,641) = 8 1 3 6 7 5 2 4 C(:,:,642) = 8 1 3 4 7 5 2 6 C(:,:,643) = 8 1 2 4 7 5 6 3 C(:,:,644) = 8 1 2 3 7 5 6 4 C(:,:,645) = 8 1 2 6 7 5 4 3 C(:,:,646) = 8 1 2 3 7 5 4 6 C(:,:,647) = 8 1 2 6 7 5 3 4 C(:,:,648) = 8 1 2 4 7 5 3 6 C(:,:,649) = 8 1 6 3 7 4 5 2 C(:,:,650) = 8 1 6 2 7 4 5 3 C(:,:,651) = 8 1 6 5 7 4 3 2 C(:,:,652) = 8 1 6 2 7 4 3 5 C(:,:,653) = 8 1 6 5 7 4 2 3 C(:,:,654) = 8 1 6 3 7 4 2 5 C(:,:,655) = 8 1 5 3 7 4 6 2 C(:,:,656) = 8 1 5 2 7 4 6 3 C(:,:,657) = 8 1 5 6 7 4 3 2 C(:,:,658) = 8 1 5 2 7 4 3 6 C(:,:,659) = 8 1 5 6 7 4 2 3 C(:,:,660) = 8 1 5 3 7 4 2 6 C(:,:,661) = 8 1 3 5 7 4 6 2 C(:,:,662) = 8 1 3 2 7 4 6 5 C(:,:,663) = 8 1 3 6 7 4 5 2 C(:,:,664) = 8 1 3 2 7 4 5 6 C(:,:,665) = 8 1 3 6 7 4 2 5 C(:,:,666) = 8 1 3 5 7 4 2 6 C(:,:,667) = 8 1 2 5 7 4 6 3 C(:,:,668) = 8 1 2 3 7 4 6 5 C(:,:,669) = 8 1 2 6 7 4 5 3 C(:,:,670) = 8 1 2 3 7 4 5 6 C(:,:,671) = 8 1 2 6 7 4 3 5 C(:,:,672) = 8 1 2 5 7 4 3 6 C(:,:,673) = 8 1 6 4 7 3 5 2 C(:,:,674) = 8 1 6 2 7 3 5 4 C(:,:,675) = 8 1 6 5 7 3 4 2 C(:,:,676) = 8 1 6 2 7 3 4 5 C(:,:,677) = 8 1 6 5 7 3 2 4 C(:,:,678) = 8 1 6 4 7 3 2 5 C(:,:,679) = 8 1 5 4 7 3 6 2 C(:,:,680) = 8 1 5 2 7 3 6 4 C(:,:,681) = 8 1 5 6 7 3 4 2 C(:,:,682) = 8 1 5 2 7 3 4 6 C(:,:,683) = 8 1 5 6 7 3 2 4 C(:,:,684) = 8 1 5 4 7 3 2 6 C(:,:,685) = 8 1 4 5 7 3 6 2 C(:,:,686) = 8 1 4 2 7 3 6 5 C(:,:,687) = 8 1 4 6 7 3 5 2 C(:,:,688) = 8 1 4 2 7 3 5 6 C(:,:,689) = 8 1 4 6 7 3 2 5 C(:,:,690) = 8 1 4 5 7 3 2 6 C(:,:,691) = 8 1 2 5 7 3 6 4 C(:,:,692) = 8 1 2 4 7 3 6 5 C(:,:,693) = 8 1 2 6 7 3 5 4 C(:,:,694) = 8 1 2 4 7 3 5 6 C(:,:,695) = 8 1 2 6 7 3 4 5 C(:,:,696) = 8 1 2 5 7 3 4 6 C(:,:,697) = 8 1 6 4 7 2 5 3 C(:,:,698) = 8 1 6 3 7 2 5 4 C(:,:,699) = 8 1 6 5 7 2 4 3 C(:,:,700) = 8 1 6 3 7 2 4 5 C(:,:,701) = 8 1 6 5 7 2 3 4 C(:,:,702) = 8 1 6 4 7 2 3 5 C(:,:,703) = 8 1 5 4 7 2 6 3 C(:,:,704) = 8 1 5 3 7 2 6 4 C(:,:,705) = 8 1 5 6 7 2 4 3 C(:,:,706) = 8 1 5 3 7 2 4 6 C(:,:,707) = 8 1 5 6 7 2 3 4 C(:,:,708) = 8 1 5 4 7 2 3 6 C(:,:,709) = 8 1 4 5 7 2 6 3 C(:,:,710) = 8 1 4 3 7 2 6 5 C(:,:,711) = 8 1 4 6 7 2 5 3 C(:,:,712) = 8 1 4 3 7 2 5 6 C(:,:,713) = 8 1 4 6 7 2 3 5 C(:,:,714) = 8 1 4 5 7 2 3 6 C(:,:,715) = 8 1 3 5 7 2 6 4 C(:,:,716) = 8 1 3 4 7 2 6 5 C(:,:,717) = 8 1 3 6 7 2 5 4 C(:,:,718) = 8 1 3 4 7 2 5 6 C(:,:,719) = 8 1 3 6 7 2 4 5 C(:,:,720) = 8 1 3 5 7 2 4 6 C(:,:,721) = 8 7 4 2 6 5 3 1 C(:,:,722) = 8 7 4 1 6 5 3 2 C(:,:,723) = 8 7 4 3 6 5 2 1 C(:,:,724) = 8 7 4 1 6 5 2 3 C(:,:,725) = 8 7 4 3 6 5 1 2 C(:,:,726) = 8 7 4 2 6 5 1 3 C(:,:,727) = 8 7 3 2 6 5 4 1 C(:,:,728) = 8 7 3 1 6 5 4 2 C(:,:,729) = 8 7 3 4 6 5 2 1 C(:,:,730) = 8 7 3 1 6 5 2 4 C(:,:,731) = 8 7 3 4 6 5 1 2 C(:,:,732) = 8 7 3 2 6 5 1 4 C(:,:,733) = 8 7 2 3 6 5 4 1 C(:,:,734) = 8 7 2 1 6 5 4 3 C(:,:,735) = 8 7 2 4 6 5 3 1 C(:,:,736) = 8 7 2 1 6 5 3 4 C(:,:,737) = 8 7 2 4 6 5 1 3 C(:,:,738) = 8 7 2 3 6 5 1 4 C(:,:,739) = 8 7 1 3 6 5 4 2 C(:,:,740) = 8 7 1 2 6 5 4 3 C(:,:,741) = 8 7 1 4 6 5 3 2 C(:,:,742) = 8 7 1 2 6 5 3 4 C(:,:,743) = 8 7 1 4 6 5 2 3 C(:,:,744) = 8 7 1 3 6 5 2 4 C(:,:,745) = 8 7 5 2 6 4 3 1 C(:,:,746) = 8 7 5 1 6 4 3 2 C(:,:,747) = 8 7 5 3 6 4 2 1 C(:,:,748) = 8 7 5 1 6 4 2 3 C(:,:,749) = 8 7 5 3 6 4 1 2 C(:,:,750) = 8 7 5 2 6 4 1 3 C(:,:,751) = 8 7 3 2 6 4 5 1 C(:,:,752) = 8 7 3 1 6 4 5 2 C(:,:,753) = 8 7 3 5 6 4 2 1 C(:,:,754) = 8 7 3 1 6 4 2 5 C(:,:,755) = 8 7 3 5 6 4 1 2 C(:,:,756) = 8 7 3 2 6 4 1 5 C(:,:,757) = 8 7 2 3 6 4 5 1 C(:,:,758) = 8 7 2 1 6 4 5 3 C(:,:,759) = 8 7 2 5 6 4 3 1 C(:,:,760) = 8 7 2 1 6 4 3 5 C(:,:,761) = 8 7 2 5 6 4 1 3 C(:,:,762) = 8 7 2 3 6 4 1 5 C(:,:,763) = 8 7 1 3 6 4 5 2 C(:,:,764) = 8 7 1 2 6 4 5 3 C(:,:,765) = 8 7 1 5 6 4 3 2 C(:,:,766) = 8 7 1 2 6 4 3 5 C(:,:,767) = 8 7 1 5 6 4 2 3 C(:,:,768) = 8 7 1 3 6 4 2 5 C(:,:,769) = 8 7 5 2 6 3 4 1 C(:,:,770) = 8 7 5 1 6 3 4 2 C(:,:,771) = 8 7 5 4 6 3 2 1 C(:,:,772) = 8 7 5 1 6 3 2 4 C(:,:,773) = 8 7 5 4 6 3 1 2 C(:,:,774) = 8 7 5 2 6 3 1 4 C(:,:,775) = 8 7 4 2 6 3 5 1 C(:,:,776) = 8 7 4 1 6 3 5 2 C(:,:,777) = 8 7 4 5 6 3 2 1 C(:,:,778) = 8 7 4 1 6 3 2 5 C(:,:,779) = 8 7 4 5 6 3 1 2 C(:,:,780) = 8 7 4 2 6 3 1 5 C(:,:,781) = 8 7 2 4 6 3 5 1 C(:,:,782) = 8 7 2 1 6 3 5 4 C(:,:,783) = 8 7 2 5 6 3 4 1 C(:,:,784) = 8 7 2 1 6 3 4 5 C(:,:,785) = 8 7 2 5 6 3 1 4 C(:,:,786) = 8 7 2 4 6 3 1 5 C(:,:,787) = 8 7 1 4 6 3 5 2 C(:,:,788) = 8 7 1 2 6 3 5 4 C(:,:,789) = 8 7 1 5 6 3 4 2 C(:,:,790) = 8 7 1 2 6 3 4 5 C(:,:,791) = 8 7 1 5 6 3 2 4 C(:,:,792) = 8 7 1 4 6 3 2 5 C(:,:,793) = 8 7 5 3 6 2 4 1 C(:,:,794) = 8 7 5 1 6 2 4 3 C(:,:,795) = 8 7 5 4 6 2 3 1 C(:,:,796) = 8 7 5 1 6 2 3 4 C(:,:,797) = 8 7 5 4 6 2 1 3 C(:,:,798) = 8 7 5 3 6 2 1 4 C(:,:,799) = 8 7 4 3 6 2 5 1 C(:,:,800) = 8 7 4 1 6 2 5 3 C(:,:,801) = 8 7 4 5 6 2 3 1 C(:,:,802) = 8 7 4 1 6 2 3 5 C(:,:,803) = 8 7 4 5 6 2 1 3 C(:,:,804) = 8 7 4 3 6 2 1 5 C(:,:,805) = 8 7 3 4 6 2 5 1 C(:,:,806) = 8 7 3 1 6 2 5 4 C(:,:,807) = 8 7 3 5 6 2 4 1 C(:,:,808) = 8 7 3 1 6 2 4 5 C(:,:,809) = 8 7 3 5 6 2 1 4 C(:,:,810) = 8 7 3 4 6 2 1 5 C(:,:,811) = 8 7 1 4 6 2 5 3 C(:,:,812) = 8 7 1 3 6 2 5 4 C(:,:,813) = 8 7 1 5 6 2 4 3 C(:,:,814) = 8 7 1 3 6 2 4 5 C(:,:,815) = 8 7 1 5 6 2 3 4 C(:,:,816) = 8 7 1 4 6 2 3 5 C(:,:,817) = 8 7 5 3 6 1 4 2 C(:,:,818) = 8 7 5 2 6 1 4 3 C(:,:,819) = 8 7 5 4 6 1 3 2 C(:,:,820) = 8 7 5 2 6 1 3 4 C(:,:,821) = 8 7 5 4 6 1 2 3 C(:,:,822) = 8 7 5 3 6 1 2 4 C(:,:,823) = 8 7 4 3 6 1 5 2 C(:,:,824) = 8 7 4 2 6 1 5 3 C(:,:,825) = 8 7 4 5 6 1 3 2 C(:,:,826) = 8 7 4 2 6 1 3 5 C(:,:,827) = 8 7 4 5 6 1 2 3 C(:,:,828) = 8 7 4 3 6 1 2 5 C(:,:,829) = 8 7 3 4 6 1 5 2 C(:,:,830) = 8 7 3 2 6 1 5 4 C(:,:,831) = 8 7 3 5 6 1 4 2 C(:,:,832) = 8 7 3 2 6 1 4 5 C(:,:,833) = 8 7 3 5 6 1 2 4 C(:,:,834) = 8 7 3 4 6 1 2 5 C(:,:,835) = 8 7 2 4 6 1 5 3 C(:,:,836) = 8 7 2 3 6 1 5 4 C(:,:,837) = 8 7 2 5 6 1 4 3 C(:,:,838) = 8 7 2 3 6 1 4 5 C(:,:,839) = 8 7 2 5 6 1 3 4 C(:,:,840) = 8 7 2 4 6 1 3 5 C(:,:,841) = 8 5 4 2 6 7 3 1 C(:,:,842) = 8 5 4 1 6 7 3 2 C(:,:,843) = 8 5 4 3 6 7 2 1 C(:,:,844) = 8 5 4 1 6 7 2 3 C(:,:,845) = 8 5 4 3 6 7 1 2 C(:,:,846) = 8 5 4 2 6 7 1 3 C(:,:,847) = 8 5 3 2 6 7 4 1 C(:,:,848) = 8 5 3 1 6 7 4 2 C(:,:,849) = 8 5 3 4 6 7 2 1 C(:,:,850) = 8 5 3 1 6 7 2 4 C(:,:,851) = 8 5 3 4 6 7 1 2 C(:,:,852) = 8 5 3 2 6 7 1 4 C(:,:,853) = 8 5 2 3 6 7 4 1 C(:,:,854) = 8 5 2 1 6 7 4 3 C(:,:,855) = 8 5 2 4 6 7 3 1 C(:,:,856) = 8 5 2 1 6 7 3 4 C(:,:,857) = 8 5 2 4 6 7 1 3 C(:,:,858) = 8 5 2 3 6 7 1 4 C(:,:,859) = 8 5 1 3 6 7 4 2 C(:,:,860) = 8 5 1 2 6 7 4 3 C(:,:,861) = 8 5 1 4 6 7 3 2 C(:,:,862) = 8 5 1 2 6 7 3 4 C(:,:,863) = 8 5 1 4 6 7 2 3 C(:,:,864) = 8 5 1 3 6 7 2 4 C(:,:,865) = 8 5 7 2 6 4 3 1 C(:,:,866) = 8 5 7 1 6 4 3 2 C(:,:,867) = 8 5 7 3 6 4 2 1 C(:,:,868) = 8 5 7 1 6 4 2 3 C(:,:,869) = 8 5 7 3 6 4 1 2 C(:,:,870) = 8 5 7 2 6 4 1 3 C(:,:,871) = 8 5 3 2 6 4 7 1 C(:,:,872) = 8 5 3 1 6 4 7 2 C(:,:,873) = 8 5 3 7 6 4 2 1 C(:,:,874) = 8 5 3 1 6 4 2 7 C(:,:,875) = 8 5 3 7 6 4 1 2 C(:,:,876) = 8 5 3 2 6 4 1 7 C(:,:,877) = 8 5 2 3 6 4 7 1 C(:,:,878) = 8 5 2 1 6 4 7 3 C(:,:,879) = 8 5 2 7 6 4 3 1 C(:,:,880) = 8 5 2 1 6 4 3 7 C(:,:,881) = 8 5 2 7 6 4 1 3 C(:,:,882) = 8 5 2 3 6 4 1 7 C(:,:,883) = 8 5 1 3 6 4 7 2 C(:,:,884) = 8 5 1 2 6 4 7 3 C(:,:,885) = 8 5 1 7 6 4 3 2 C(:,:,886) = 8 5 1 2 6 4 3 7 C(:,:,887) = 8 5 1 7 6 4 2 3 C(:,:,888) = 8 5 1 3 6 4 2 7 C(:,:,889) = 8 5 7 2 6 3 4 1 C(:,:,890) = 8 5 7 1 6 3 4 2 C(:,:,891) = 8 5 7 4 6 3 2 1 C(:,:,892) = 8 5 7 1 6 3 2 4 C(:,:,893) = 8 5 7 4 6 3 1 2 C(:,:,894) = 8 5 7 2 6 3 1 4 C(:,:,895) = 8 5 4 2 6 3 7 1 C(:,:,896) = 8 5 4 1 6 3 7 2 C(:,:,897) = 8 5 4 7 6 3 2 1 C(:,:,898) = 8 5 4 1 6 3 2 7 C(:,:,899) = 8 5 4 7 6 3 1 2 C(:,:,900) = 8 5 4 2 6 3 1 7 C(:,:,901) = 8 5 2 4 6 3 7 1 C(:,:,902) = 8 5 2 1 6 3 7 4 C(:,:,903) = 8 5 2 7 6 3 4 1 C(:,:,904) = 8 5 2 1 6 3 4 7 C(:,:,905) = 8 5 2 7 6 3 1 4 C(:,:,906) = 8 5 2 4 6 3 1 7 C(:,:,907) = 8 5 1 4 6 3 7 2 C(:,:,908) = 8 5 1 2 6 3 7 4 C(:,:,909) = 8 5 1 7 6 3 4 2 C(:,:,910) = 8 5 1 2 6 3 4 7 C(:,:,911) = 8 5 1 7

### Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

### Community Treasure Hunt

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

Start Hunting!