svids = [1:1:210];
gnss_ca=gnssCACode(svids,"GPS");
save("gps_ca.mat","gnss_ca");
writematrix([svids;double(gnss_ca)],"gps_ca.csv");

svids = [183:1:202];
gnss_ca=gnssCACode(svids,"GPS");
save("qzss_ca.mat","gnss_ca");
writematrix([svids;double(gnss_ca)],"qzss_ca.csv");

svids = [1:1:14];
gnss_ca=gnssCACode(svids,"NavIC L5-SPS");
save("navic_l5_ca.mat","gnss_ca");
writematrix([svids;double(gnss_ca)],"navic_l5_ca.csv");

svids = [1:1:14];
gnss_ca=gnssCACode(svids,"NavIC S-SPS");
save("navic_s_ca.mat","gnss_ca");
writematrix([svids;double(gnss_ca)],"navic_s_ca.csv");
