Skip to content

Instantly share code, notes, and snippets.

@Arnot
Created June 23, 2016 20:02
Show Gist options
  • Save Arnot/6fe41638226ea502d04680e23f673023 to your computer and use it in GitHub Desktop.
Save Arnot/6fe41638226ea502d04680e23f673023 to your computer and use it in GitHub Desktop.
% B = array3d(1..10, 1..1, 1..1, [false, true, false, false, false, false, false, false, false, false]);
B:
false
true
false
false
false
false
false
false
false
false
% R = array3d(1..10, 1..1, 1..1, [false, false, true, true, true, true, true, true, true, true]);
R:
false
false
true
true
true
true
true
true
true
true
end = 3;
% op = array2d(1..10, 1..2, [1, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
op:
1 0
0 2
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
----------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment