Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- clc
- close all
- clear all
- Y = 8×8
- 1 0 0 0 0 0 0 0
- 0 1 0 0 0 0 0 0
- 0 0 1 0 0 0 0 0
- 0 0 0 1 0 0 0 0
- 0 0 0 0 1 0 0 0
- 0 0 0 0 0 1 0 0
- 0 0 0 0 0 0 1 0
- 0 0 0 0 0 0 0 1
- for i=0:1:7
- Ai,2=Y7+Y6+Y5+Y4
- Ai,1=Y7+Y6+Y3+Y2
- Ai,0=Y7+Y5+Y3+Y1
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement