Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

write a python script for generating the transmitted BPSK ( Binary Phase shift Keying ) of 1 0 2 3 bits for space vehicle 2

write a python script for generating the transmitted BPSK (Binary Phase shift Keying) of 1023 bits for space vehicle 20.with PRN code [4,7]. The digital output is all 1s and 0s. However when transmitted with BPSK all of the 1s become 1s and all of the 0s become -1s. The construction of G1, G2 and the taps used for each space vehicle are as followed:
# Define the shift and PRN functions as before
def shift(register, feedback, output):
out =[register[i-1] for i in output]
if len(out)>1:
out = sum(out)%2
else:
out = out[0]
fb = sum([register[i-1] for i in feedback])%2
for i in reversed(range(len(register[1:]))):
register[i+1]= register[i]
register[0]= fb
return out
def PRN(sv):
G1=[1 for i in range(10)]
G2=[1 for i in range(10)]
ca =[]
for i in range(1023):
g1= shift(G1,[3,10],[10])
g2= shift(G2,[2,3,6,8,9,10], sv)
ca.append(2*((g1+ g2)%2)-1)
# Generate the PRN code for the chosen space vehicle (e.g., SV20)
sv_prn = PRN([4,7]) # Using SV20 as an example

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases Demystified

Authors: Andrew Oppel

1st Edition

0072253649, 9780072253641

More Books

Students also viewed these Databases questions

Question

Give an example of a faulty dismissal.

Answered: 1 week ago

Question

What is management growth? What are its factors

Answered: 1 week ago

Question

What are Decision Trees?

Answered: 1 week ago

Question

What is meant by the Term Glass Ceiling?

Answered: 1 week ago