资源简介

MATLAB时延波束形成,构造CW脉冲信号,挪点实现时延补偿

资源截图

代码片段和文件信息

close all;
clear all;
tic

fs = 1e6; %信号长度1s
N = fs;
f0 = 1000;
velocity = 1500;
lamda = velocity/f0;
theta0 = 30*pi/180;
t1 = (0:fs-1)/fs;
wave_count = 10;
fixedlength = zeros(1fs/2);

signal = zeros(16N);
delay_scan = zeros(1180);
beamform_temp = zeros(16N);
beamform_ = zeros(180N);
for k = 1:16
        delay = lamda*sin(theta0)/(velocity*2);
        st_recive = 10*cos(2*pi*f0*(t1-(k-1)*delay));
        offset_prime = zeros(1round((k-1)*delay*fs)+10000);
        temp = awgn([offset_prime...
                 st_recive(length(offset_prime)+1:...
                 length(offset_prime)+wave_count*fs/f0)...
        zeros(1N-length(offset_prime)-wave_count*fs/f0)]20);
        signal(k:) = temp;
end

k=1;

评论

共有 条评论