Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask MATLAB Expert

Assignment 1. Generator and Degradations

Part 1. Signal Generator

• Design Gold code of size 1023 (GPS C/A code) using HW2 matlab codes. Two M-codes are used which are generated by two generating polynomials: G1: g(D) = 1 + D3 + D10 and G2: g(D) = 1 + D2 + D3 + D6 + D8 + D9 +D10.

• Plot the autocorrelation function and show that other than peak there are only three values in the autocorrelation. What are the values of the autocorrelation function?

• Increase the number of samples per chip to 4 samples (e.g. 1-> 1111, 0-> 0000) and plot autocorrelation function again.

Generate 5 periods of oversampled signal

o Add Doppler sinusoid by multiplying code signal to a sinusoid. Assume one code period is 1ms. Multiply your signal to a complex sinusoid exp(2Π jfnts) where ts is the sampling period, n is the sample index.

o Introduce a code-phase shift (0-4092): starting from a sample index (n_code_phase) in the range (0-4092) extract 4 periods of the signal from previously generated 5 periods. At this stage you will have a signal with certain code-phase shift and Doppler frequency modulation, oversampled (4 samples per chip). Add AWGN noise similar to HW2. Keep this signal generator for simulations in all design projects.

Part 2. Study degradation effects (Set AWGN noise to "0" (no noise)

o Crosscorrelate one oversampled code period with Doppler sinusoidal modulation with Doppler free oversampled code. Starting with frequency "0" increase the frequency and demonstrate autocorrelation peak degradation. At what frequency the peak is reduced two times? As values are complex - plot absolute values for crosscorrelation to see the peak?

o Study degradation effects because of code Doppler. Use one code period of the generated signal with Doppler frequency "0" (no sinusoidal Doppler). Generate another signal which has a code Doppler in it. Cross-correlate them and see degradations. At what Doppler frequencies code Doppler effects become noticeable?

o The code Doppler is obtained by stretching/expanding the signal in proportion to relative speed (see lecture notes on the phenomena). When such signal is sampled then there will be no exact 4 samples per chip. The following diagram shows the way to obtain a sampled signal with code Doppler. We have to sample a stretched continuous code to account for the code Doppler.

• One should have certain amount of samples per code period. E.g., with 4 samples per chip we will have 4092 samples per code period. The idea is for each sample to calculate an appropriate code value. In Doppler free case we will always have correct alignment of samples and code chips, while, in general, samples are not aligned with chips in the presence of code Doppler. Let us assume that the chip duration is changed due to Doppler and is now d chip T _ . Then assume that the number of samples per original chip was k . Then sampling interval is ΔT = Tchip/k. Then the nth sample corresponds to [nΔTs/Tchip_d]chip.

Assignment 2. Acquisition

• Signal generator from previous design project is used in this project. We acquire a signal with shifted code phase and Doppler sinusoidal modulation as generated in Design Project I. Set a code phase to 556, Doppler frequency to 1kHz. Add AWGN noise as your generator can do it.

• Have two "for" loops: (1) Loop 1: multiply received signal to complex sinusoids exp(-2Πjfnts)- to wipe-off Doppler modulation, select sinusoids [-2kHz -1.5kHz, -1kHz, 0kHz, 1kHz, 1.5 kHz, 2kHz] as candidate sinusoids; (2) Loop 2. For each candidate frequency apply code correlator as explained below. You will get 3D picture, e.g. all code phases on x-axis, all frequencies on y-axis, and correlation values on z-axis. Set noise to "0", get a perfect peak, increase noise to have noise floor increased. Plot the picture and report.

• Use two correlator design approaches (1) parallel set of ordinary correlators. (2) matched filter. For matched filter conv.m routine can be used.

• Assume certain number of coherent and noncoherent stages (take 2 and 2). Calculate correlation value and combine coherently and noncoherently several periods of autocorrelation as is shown on the diagrams on next page. 

Assignment 3. Tracking

Transmitter

• Use DSSS signal model: oversampled code (4 samples per chip) and Doppler sinusoidal modulation (no code Doppler).

Signal duration is one code period.

Receiver
• Carrier Tracking. Set the code delay equal to 0 (no delay) which means a perfect alignment of code and replica. Implement an ordinary correlator (integrate&dump unit) for one code duration wiping-off the code. On the output of the correlator implement carrier loop discriminators and get characteristic curves:

o Common PLL (atan2 based) discriminator (group 1 from the student list)

o Costas PLL (atan based) discriminator (group 2 from the student list)

o FLL (atan2 based) discriminator. For FLL characteristic one should take two consecutive correlator outputs. So take two code periods. (group 3 from the student list)

• Code tracking. Set the Doppler shift effects in frequency to 0 or disable these feature. Implement two correlators (early and late) by correlating the transmiter signal with shifted replica codes. Use the correlator outputs to obtain (early minus late envelop normalized by early plus late envelope) discriminator characteristic curves. Obtain the same figure with one of envelope approximation methods (JPL or Robertson).

Combine both figures using Matlab "hold on" command and include the figure in the report

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91064224
  • Price:- $160

Guranteed 48 Hours Delivery, In Price:- $160

Have any Question?


Related Questions in MATLAB

Question a safe prime is a prime number that can be written

Question : A safe prime is a prime number that can be written in the form 2p + 1 where p is also a prime number. Write a MATLAB script file that finds and displays all safe primes between 1 and 1000.

Discrete optimisation- solve the following two problems

Discrete Optimisation - Solve the following two problems with both exhaustive enumeration and branch and bound - Problem 1 is a mixed integer linear optimisation problem (the problem has both discrete and continuous vari ...

Question 1 manipulate spectral imagehyperspectral images

Question 1. Manipulate spectral image Hyperspectral images can be seen as a generalisation of normal colour images such as RGB images. In a normal RGB colour image, there are 3 channels, i.e. channels for red colour, gre ...

Assignment -we have daily gridded rainfall data of 40 years

Assignment - We have daily gridded rainfall data of 40 years and structure of the dataset is like below; Lat = [6.5:0.25:38.5]; Lon = [66.5:0.25:100]; Rainfall (135x129x365x40) (Lon, Lat, days, years). Now, we looking fo ...

Assignment -matlab codes and simulated model in

Assignment - Matlab codes and simulated model in simulink/matlab and truetime. 1. Matlab codes and simulink model for pid controller optimization using particle swarm optimization (PSO) my plant is integer order 1000/(s^ ...

Assignment - matlab programmingusing appropriate matlab

Assignment - MatLab Programming Using appropriate MatLab syntax, write the code required to analyse and display the data as per the problem description. The order of the MatLab Program should be as follows: Variables and ...

Assignment details -need to write a code for connecting

Assignment Details - Need to write a code for connecting segments (Lines) a special case of TSP. The problem is to connect lines in 2d/ 3d space with path obstructions. Can you help me write the code for this? Hope you m ...

Suppose that you have used some concept learning algorithm

Suppose that you have used some concept learning algorithm to learn a hypothesis h1 from some training data. You are interested in knowing the accuracy that the hypothesis can be expected to achieve on the underlying pop ...

Question - verify the attached paper with matlab and get

Question - Verify the attached paper with matlab and get all the results in the paper and explain step by step the matlab code. Paper - Improving Massive MIMO Belief Propagation Detector with Deep Neural Network. Attachm ...

Assignmentafter the success of your robo-advice venture you

Assignment After the success of your robo-advice venture you decide to explore alternative sources of profitability for your company. You realize that Australian investors are often forced to chose between expensive acti ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As