GPS C/A Code Generator

Generates C/A Codes for selected PRNs, up to 37 codes.

You are now following this Submission

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 (2026). GPS C/A Code Generator (https://in.mathworks.com/matlabcentral/fileexchange/14670-gps-c-a-code-generator), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: C/A code and Correlations

Categories

Find more on Automotive in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
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.