⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 uwb_monocycle_pulsegen.m

📁 uwb高斯脉冲的产生程序
💻 M
字号:
function [y]=uwb_monocycle(Tf,Ts,Tp);% generate the uwb pulse signal,( pay attention  4,16,divided tf by 4);
%if nargin==1
chip=5e6;
tf_uwb=Tf;% the period of monocycle, so in the bandwidth of cdma , the number of discrete spectrum line is no more than one.

wb=1/5e8;



fc=1/Tp;%5e8;
Bp=1/wb;
%%%when the pulse width is 2ns,its pulse bandwidth Bp is 500MHz
fs=Bp*8;
fs_uwb=Bp*8;


x=linspace(0,tf_uwb,tf_uwb*fs_uwb);

%fs=fs/100;

%dpn_shiftemodulation 
 
tt=x-0.53125*wb;

rt=exp(-2*pi*pi*(tt).*(tt)*fc*fc);
y=2*sqrt(exp(1))*fc*pi*tt.*rt;

GaussianPulseSamples.signals.values=[y';0];
GaussianPulseSamples.signals.dimensions=1;
GaussianPulseSamples.time=[];
save GaussianPulseGenerator GaussianPulseSamples;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -