# Design of Two Dimensional Unipolar (Optical) Orthogonal Codes Through One Dimensional Unipolar (Optical) Orthogonal Codes

simulation code can be downoaded form github.com/mgeekmatlab

# result for l=3 n=4 w=3

serial_no =

serial no 1

one_dimentional_dop_code =

 1     1    10


one_dimentional_binary_code =

 1     1     1     0     0     0     0     0     0     0     0     0


two_dimentional_dop_code =

[0’1,0’1,0’2]

two_dimentional_binary_code =

 1     0     0
1     0     0
1     0     0
0     0     0


serial_no =

serial no 2

one_dimentional_dop_code =

 1     2     9


one_dimentional_binary_code =

 1     1     0     1     0     0     0     0     0     0     0     0


two_dimentional_dop_code =

[0’1,0’2,0’1]

two_dimentional_binary_code =

 1     0     0
1     0     0
0     0     0
1     0     0


serial_no =

serial no 3

one_dimentional_dop_code =

 1     3     8


one_dimentional_binary_code =

 1     1     0     0     1     0     0     0     0     0     0     0


two_dimentional_dop_code =

[0’1,1’3,2’0]

two_dimentional_binary_code =

 1     1     0
1     0     0
0     0     0
0     0     0


serial_no =

serial no 4

one_dimentional_dop_code =

 1     4     7


one_dimentional_binary_code =

 1     1     0     0     0     1     0     0     0     0     0     0


two_dimentional_dop_code =

[0’1,1’0,2’3]

two_dimentional_binary_code =

 1     0     0
1     1     0
0     0     0
0     0     0


serial_no =

serial no 5

one_dimentional_dop_code =

 1     5     6


one_dimentional_binary_code =

 1     1     0     0     0     0     1     0     0     0     0     0


two_dimentional_dop_code =

[0’1,1’1,2’2]

two_dimentional_binary_code =

 1     0     0
1     0     0
0     1     0
0     0     0


serial_no =

serial no 6

one_dimentional_dop_code =

 2     1     9


one_dimentional_binary_code =

 1     0     1     1     0     0     0     0     0     0     0     0


two_dimentional_dop_code =

[0’2,0’1,0’1]

two_dimentional_binary_code =

 1     0     0
0     0     0
1     0     0
1     0     0


serial_no =

serial no 7

one_dimentional_dop_code =

 2     2     8


one_dimentional_binary_code =

 1     0     1     0     1     0     0     0     0     0     0     0


two_dimentional_dop_code =

[0’2,1’2,2’0]

two_dimentional_binary_code =

 1     1     0
0     0     0
1     0     0
0     0     0


serial_no =

serial no 8

one_dimentional_dop_code =

 2     3     7


one_dimentional_binary_code =

 1     0     1     0     0     1     0     0     0     0     0     0


two_dimentional_dop_code =

[0’2,1’3,2’3]

two_dimentional_binary_code =

 1     0     0
0     1     0
1     0     0
0     0     0


serial_no =

serial no 9

one_dimentional_dop_code =

 2     4     6


one_dimentional_binary_code =

 1     0     1     0     0     0     1     0     0     0     0     0


two_dimentional_dop_code =

[0’2,1’0,2’2]

two_dimentional_binary_code =

 1     0     0
0     0     0
1     1     0
0     0     0


serial_no =

serial no 10

one_dimentional_dop_code =

 2     5     5


one_dimentional_binary_code =

 1     0     1     0     0     0     0     1     0     0     0     0


two_dimentional_dop_code =

[0’2,1’1,2’1]

two_dimentional_binary_code =

 1     0     0
0     0     0
1     0     0
0     1     0


serial_no =

serial no 11

one_dimentional_dop_code =

 3     1     8


one_dimentional_binary_code =

 1     0     0     1     1     0     0     0     0     0     0     0


two_dimentional_dop_code =

[0’3,1’1,2’0]

two_dimentional_binary_code =

 1     1     0
0     0     0
0     0     0
1     0     0


serial_no =

serial no 12

one_dimentional_dop_code =

 3     2     7


one_dimentional_binary_code =

 1     0     0     1     0     1     0     0     0     0     0     0


two_dimentional_dop_code =

[0’3,1’2,2’3]

two_dimentional_binary_code =

 1     0     0
0     1     0
0     0     0
1     0     0


serial_no =

serial no 13

one_dimentional_dop_code =

 3     3     6


one_dimentional_binary_code =

 1     0     0     1     0     0     1     0     0     0     0     0


two_dimentional_dop_code =

[0’3,1’3,2’2]

two_dimentional_binary_code =

 1     0     0
0     0     0
0     1     0
1     0     0


serial_no =

serial no 14

one_dimentional_dop_code =

 3     4     5


one_dimentional_binary_code =

 1     0     0     1     0     0     0     1     0     0     0     0


two_dimentional_dop_code =

[0’3,1’0,2’1]

two_dimentional_binary_code =

 1     0     0
0     0     0
0     0     0
1     1     0


serial_no =

serial no 15

one_dimentional_dop_code =

 4     1     7


one_dimentional_binary_code =

 1     0     0     0     1     1     0     0     0     0     0     0


two_dimentional_dop_code =

[1’0,0’1,2’3]

two_dimentional_binary_code =

 1     1     0
0     1     0
0     0     0
0     0     0


serial_no =

serial no 16

one_dimentional_dop_code =

 4     2     6


one_dimentional_binary_code =

 1     0     0     0     1     0     1     0     0     0     0     0


two_dimentional_dop_code =

[1’0,0’2,2’2]

two_dimentional_binary_code =

 1     1     0
0     0     0
0     1     0
0     0     0


serial_no =

serial no 17

one_dimentional_dop_code =

 4     3     5


one_dimentional_binary_code =

 1     0     0     0     1     0     0     1     0     0     0     0


two_dimentional_dop_code =

[1’0,0’3,2’1]

two_dimentional_binary_code =

 1     1     0
0     0     0
0     0     0
0     1     0


serial_no =

serial no 18

one_dimentional_dop_code =

 4     4     4


one_dimentional_binary_code =

 1     0     0     0     1     0     0     0     1     0     0     0


two_dimentional_dop_code =

[1’0,1’0,1’0]

two_dimentional_binary_code =

 1     1     1
0     0     0
0     0     0
0     0     0


serial_no =

serial no 19

one_dimentional_dop_code =

 5     1     6


one_dimentional_binary_code =

 1     0     0     0     0     1     1     0     0     0     0     0


two_dimentional_dop_code =

[1’1,0’1,2’2]

two_dimentional_binary_code =

 1     0     0
0     1     0
0     1     0
0     0     0


no_of_codes_formed =

19


Hey! Open an account with Zerodha to invest in stocks and mutual funds. Use this link to get 300 reward points.