资源简介
一个关于科斯塔斯环的MATLAB仿真程序,,希望有人需要哈
代码片段和文件信息
function [outFreAlt_phaseAlter_frequencyphase_discri] = Costas(fsTfcSignal);
% [outAlter_frequencyphase_discri]
% fs 信号采样率
% T 处理数据的时间(单位:毫秒)
% Signal 去除P码后的纯载波信号
% 使用方法:[outFreAlt_phaseAlter_frequencyphase_discri] = Costas(81.84e+65015.345e+6+100data);
% Costas(81.84e+65015.345e+6+100data);
f = 10.23e+6; % 基准频率
ts = 1/fs; % time delay
Crate = fs/f; % Crate倍的采样率
num = T * 10230 * Crate; % 总共要处理的点数
Point_Num = floor(fs/1000);% 每次积累处理的点数 floor
LocalUsed_n = [0:Point_Num-1];
MaxCount = floor(length(Signal)/Point_Num); % 循环处理的次数
Pifc = 2*pi*fc;
temp = 0;
phase = 0;
[c1c2] = GetC1C2(0.70730);
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
load PCodes_U PCodes_U; %%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
for
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2421 2008-05-09 16:28 Costas.m
文件 218 2007-06-05 03:14 www.pudn.com.txt
----------- --------- ---------- ----- ----
2639 2
评论
共有 条评论