• 大小: 1KB
    文件类型: .m
    金币: 1
    下载: 0 次
    发布日期: 2021-05-15
  • 语言: Matlab
  • 标签: l    u  0  

资源简介

罗兰c信号生成程序,画出信号波形,信号频谱,信号相位

资源截图

代码片段和文件信息

clc;
clear all;
close all;

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
f0=100e3; %载波频率(MHz)
fs=1e6;   %采样频率(MHz)
tc=1/fs;
Am=1;
td=0;   %包周差
T=1e-3; %采样点数
t=0:1/fs:T-1/fs;
Pc=0;


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%罗兰c原始信号%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

m1=(t-td).^2;
m2=exp(-2*(t-td)/65e-6);
signal=sin(2*pi*f0*t+Pc);
LoranC_signal=Am*m1.*m2.*signal;%%原始罗兰C信号
N=length(LoranC_signal);    %信号长度
norm_LoranC_signal = mapminmax(LoranC_signal); %归一化
figure(1);
plot(norm_LoranC_signal);   %原始罗兰C单脉冲信号图
axis([0 800 -1 1]) ;

评论

共有 条评论