So if we have an encrpyed set of data, 110110
we break it into 2 parts because its over 4...
code0 = (1, –1), data0 = (1, 1,0,1)
encode0 = 2(1, 1, 0, 1) – (1, 1, 1, 1) = (1, 1, -1, 1)
signal0 = encode0 ⊗ code0
= (1, 1, -1, 1) ⊗ (1, –1)
= (1, -1, 1, -1, -1, 1, 1, -1)
which is actually 1,0,1,0,0,1,1,0
Then we add that to
another valid code.
1, -1, 1, -1, -1, 1, 1, -1 +
–1, –1, –1, –1, 1, 1, 1, 1
0, -2, 0, -2, 0, 2, 2, 0
code0 = (1, –1), signal = (0, -2, 0, -2, 0, 2, 2, 0)
decode0 = pattern.vector0
decode0 = ((0,–2),(0,-2),(0,2), (2,0)).(1, -1)
decode0 = ((0,2),(0,2), (0,-2), (2,0)
decode0 = 2, 2 -2, 2
data0=(2, 2, -2, 2), meaning (1, 1, 0, 1)
yes yes yes yes yes <3
since the other code was encoded with, 1,1 i should really make sure it works.
code0 = (1, 1), signal = (0, -2, 0, -2, 0, 2, 2, 0)
decode0 = pattern.vector0
decode0 = ((0,–2),(0,-2),(0,2), (2,0)).(1, 1)
decode0 = ((0,-2),(0,-2), (0,2), (2,0)
decode0 = -2, -2 2, 2
data0=(-2, -2, 2, 2), meaning (0, 0, 1, 1)
which is correct if you look at the example on wiki, even tho i sent my own data!! ...even tho that proves that its just a functioning multiplex.
so happy. i get sleeps now
edit2: why is this important?
when you have a CDMA phone and you connect to a tower, it uses ONE frequency band to send and receive data.
You know when you use hand held walkie-talkies, how you cant hear the person talk if your talking? thats not just because the mic and speaker are the same...its actually because your transmitting and receiving on the same frequency band...and because your sending data, how on earth could you get data at the same time? well...i just showed you
