### CDMA - Basic

Imagine a scenario where a sender and receiver using CDMA (Section 7.2.1 from the text) are exchanging data. Assume both the sender and receiver use a CDMA code of size 8, where M = 1, 1, 1, 1, -1, -1, -1, 1.

### Question List

1. Given the CDMA code above and the bit d=-1, what is the encoded output? Separate each value with a comma and no spaces

2. Given the CDMA code above and the output string: 1,1,1,1,-1,-1,-1,1, what is the decoded bit value?

### Solution

1. The encoded output is: -1,-1,-1,-1,1,1,1,-1

2. The original bit value is: 1

That's incorrect

That's correct

The answer was: -1,-1,-1,-1,1,1,1,-1

The answer was: 1