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

资源简介

很好自己编写在cost207 ,值得收藏很好很好的东西

资源截图

代码片段和文件信息

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                                  PDP
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
clc;
clear all;
close all;
warning off;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%                              simulation
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Step = 0.01;
Delay_Spread = 0.1;% 0.98 2.53 6.88
% RA
delay = [0:Step:0.7];
C = exp(-9.2*delay);
C = C./C(1);
C = 10*log10(C);
figure(1);
plot(delayC‘k-‘‘linewidth‘2);
axis([0 20 -25 0]);
grid on;
xlabel(‘\tau (us)‘);
ylabel(‘dB‘);
legend(‘远郊地区‘);
% TU
Delay_Spread = 0.98;
delay = [0:Step:7];
C = exp(-1*delay);
C = C./C(1);
C = 10*log10(C);
figure(2);
plot(delayC‘k-‘‘linewidth‘2);
axis([0 20 -25 0]);
grid on;
xlabel(‘\tau (us)‘);
ylabel(‘dB‘);
legend(‘典型城区‘);
% BU
Delay_Spread = 2.53;
delay = [0:Step:5-Step];
C1 = exp(-1*delay);
C1 = C1./C1(1);

delay = [5:Step:10];
C2 = 0.5*exp((5-delay));
C2 = C2./C1(1);

C = [C1 C2];
C = 10*log10(C);

figure(3);
plot([0:Step:10]C‘k-‘‘linewidth‘2);
axis([0 20 -25 0]);
grid on;
xlabel(‘\tau (us)‘);
ylabel(‘dB‘);
legend(‘恶劣城区‘);

% HT
Delay_Spread = 6.88;
delay = [0:Step:2-Step];
C1 = exp(-3.5*delay);
C1 = C1./C1(1);
figure(4);
plot(delay10*log10(C1)‘k-‘‘linewidth‘2);hold on;

delay = [15:Step:20];
C2 = 0.1*exp((15-delay));
C2 = C2

评论

共有 条评论

相关资源