- Use fftshift to discriminate negative and positive frequencies
- Use db for better visualization
- Create x-Axis from -fs/2 to +fs/2 (1024 samples)
GPS Acquisition IF frequency in graph
조회 수: 1 (최근 30일)
이전 댓글 표시
I am trying to generate GPS Acquisition signals using frequency code phase search acquisition.
- I generated C/A gold codes and digitised at 16.368e6 MHz(sampling frequency)
- I generated carrier signals using exponential function at sampling frequency
- I have input data with IF of 4.092e6 and sampling frequency as mentioned above. my inout data has 163680 samples
- I multiplied input data with carrier signals which produces 1023 samples by considering 1023 samples from input data and converted into Fourier transform using FFT
- I converted gold codes into frequency domain using FFT
- I multiplied gold codes with step 4 to get final output with 1023 samples.
I have converted to absolute values and ploted. Then I got graphs as below. How to plot so that I can get IF in middle of graphs and how to plot correctly?
final_out is output from step 6:
[amp crw] = max(max(abs(final_out')));
[amp ccn] = max(max(abs(final_out)));
figure;
plot(abs(final_out(ccn,1:1023)));
댓글 수: 3
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Waveform Generation에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!