% function LFM_disp
close all;clear; clc
c = 3*1e8; %%光速 m/s
Bw = 5*1e6; %%雷达波形 信号带宽
Tau = 50*1e-6; %%雷达波形 脉冲宽度
f0 = 10*1e9; %%载波频率
deta_t = 1/(Bw*16); %%保证采样率
time = 0:deta_t:Tau;
N_t = length(time);
time = (0:1:(N_t -1))*deta_t ;%%重新调整一下时间采样序列
range = c*time/2; %%距离采样序列
range_cell = mean(diff(range));
f0 = -Bw/2;gamma = Bw/Tau
%%原始信号
x = exp(i*2*pi*(f0*time+1/2*gamma*time.^2));
x_fft = ifftshift( fft(x)) ;f = linspace(-1/2*1/deta_t, 1/2*1/deta_t,N_t);
x_fft_amp = 20*log10(abs(x_fft));x_fft_amp_max = max(x_fft_amp ); x_fft_amp = x_fft_amp - x_fft_amp_max ;
figure; subplot(2,1,1);plot(range , real(x),'k');hold on; plot(range, imag(x),'r-.');xlabel('range / m')
legend('I', 'Q');xlabel('range /m');title('before range compress');
subplot(2,1,2);plot(f/1e6,x_fft_amp );xlabel('freq / MHz');ylim([-15,5]);title('bandwidth disp')
%%脉冲压缩 (FFT 实现)
P = nextpow2(2*N_t);
x_append = [x, zeros(1,2^P - N_t)]; fft_x_append = fft(x_append);
x_match_append = [conj(fliplr(x)),zeros(1,2^P-N_t)]; fft_x_match_append = fft(x_match_append );
fft_x_pc = fft_x_append .*fft_x_match_append;
x_pc = ifft(fft_x_pc);
range_pc = (0:1:2^P-1) *range_cell;
figure;plot(range_pc,abs(x_pc));xlabel('range /m');title('after range compress')
没有合适的资源?快使用搜索试试~ 我知道了~
脉冲压缩仿真代码MATLAB
共6个文件
m:6个
需积分: 26 15 下载量 2 浏览量
2022-07-16
23:59:18
上传
评论 3
收藏 4KB RAR 举报
温馨提示
线性调频 ,步进频和相位编码信号的脉冲压缩仿真
资源详情
资源评论
资源推荐
收起资源包目录
脉冲压缩.rar (6个子文件)
LFM_disp.m 1KB
M_sequence.m 426B
Phase_Code_disp.m 1KB
LFM_dechirp_disp.m 1KB
M_sequence_10.m 861B
STEP_F_disp.m 885B
共 6 条
- 1
Kernel_RSP
- 粉丝: 6
- 资源: 67
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0