Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

computer networks please help with question #6 (a-c) 6. (8 pts) Recall this sing

ID: 3908483 • Letter: C

Question

computer networks

please help with question #6 (a-c)

6. (8 pts) Recall this single-sender CDMA example from our lecture, which is Figure 7.5 from the 7th edition: Sender Channel output Z Data bits Code 1 11 1 Time slot 1 channel output channel output Time slot 0 Time slot 1 Time slot 0 Receiver Time slot1 received input received input Time slot 0 Code 1 11 1 (2 pts) What would be the sender's output (for the 2 data bits shown) if the sender's CDMA code were (1,-1,1,-1,1,-,1,-1(1,,,-1,1,-1,1,-1)? Pay careful attention to how di comes first and is followed by do a. Output corresponding to bit do

Explanation / Answer

M = 8 , Hence m varies from 1 to 8

a)

d1 = -1 , d0 = 1
Given code are [1,-1,1,-1,1,-1,1,-1] , [1,-1,1,-1,1,-1,1,-1]

Output corresponding to bit d1 = d1 * code bits = -1 * [1,-1,1,-1,1,-1,1,-1]
= [-1,1,-1,1,-1,1,-1,1]

Output corresponding to bit d0 = d0 * code bits = 1* [1,-1,1,-1,1,-1,1,-1]
= [1,-1,1,-1,1,-1,1,-1]

Hence ,
Output corresponding to bit d1 = [-1,1,-1,1,-1,1,-1,1]
Output corresponding to bit d0 = [1,-1,1,-1,1,-1,1,-1]

b)
d12= 1 , d02 = 1
Sender2 output by bit d1 = 1 * [1,-1,1,1,1,-1,1,1]
= [1,-1,1,1,1,-1,1,1];
Sender2 output by bit d0 = 1 * [1,-1,1,1,1,-1,1,1]
= [1,-1,1,1,1,-1,1,1];


Hence, Sender2 output = [1,-1,1,1,1,-1,1,1]; [ 1,-1,1,1,1,-1,1,1]


c)

d21 = (1*1 + -1*-1 + 1*1 + 1*1 + 1*1 + -1*-1 + 1*1 + 1*1)/8 = 8/8 = 1
d22 = (1*1 + -1*-1 + 1*1 + 1*1 + 1*1 + -1*-1 + 1*1 + 1*1)/8 = 8/8 = 1

PLEASE UPVOTE IF THE ANSWER WAS HELPFUL