Question: i will up vote. please help with this problem! thanks! can be done in MATLAB Briefly, the algorithm for creating the C/A-codes is: i. Load
Briefly, the algorithm for creating the C/A-codes is: i. Load both the G, and G, shift registers with all is'. ii. Compute the sums from all the operations to determine the output bit for the current epoch. iii. Shift both registers one element to the right; load the leftmost elements of G, and G, with the appropriately calculated bits from just prior to the shift. iv. Go back to step (ii). (MATLAB Hint: Let G be a 1 x 10 matrix representing a shift register. A quick way to shift the register by one position is as follows: G = [newBit G(1:9), where newBit is the new leftmost element.) (a) Create the entire 1023-chip C/A-code for PRN 19 as a vector in MATLAB (or any other math program you'd like to use). Plot the first 16 and last 16 chips of the code. It'll be easier for you and your instructor to check the answer if you express it in hexa- decimal. Verify that the first 16 chips of PRN 19, expressed in hexadecimal, are E6D6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
