GPS C/A Code Generator

Generates C/A Codes for selected PRNs, up to 37 codes.
11.7K Downloads
Updated 1 Jun 2010

View License

G=CACODE(SV,FS)
G is a matrix with 1023*FS columns with a row for each PRN desired.
SV is a vector containing PRN numbers to be generated, from 1 to 37.
FS is the number of samples per chip desired in the code sequence. (Default=1).

Cite As

Dan Boschen (2024). GPS C/A Code Generator (https://www.mathworks.com/matlabcentral/fileexchange/14670-gps-c-a-code-generator), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP2
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Automotive in Help Center and MATLAB Answers
Acknowledgements

Inspired: C/A code and Correlations

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.1.0.0

Updated author email address in comments.

1.0.0.0

Comment Correction.
Corrected "First Order Hold" to be "Zero Order Hold" in comments to reflect actual implementation.