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

📄 cp0802_pdp.m

📁 这是一本超宽带通信书籍< 超宽带无线通信>>的原代码,ds_uwb,mb_ofdm,脉冲信号的形成
💻 M
字号:
%
% FUNCTION 8.10 : "cp0802_PDP"
%
% Evaluates the Power Delay Profile 'PDP'
% of a channel impulse response 'h' sampled
% at frequency 'fc'
%
% Programmed by Guerino Giancola
%

function [PDP] = cp0802_PDP(h,fc)

% --------------------------------
% Step One - Evaluation of the PDP
% --------------------------------

dt = 1 / fc;        % sampling time

PDP = (abs(h).^2)./dt;   % PDP

% ----------------------------
% Step Two - Graphical Output
% ----------------------------

Tmax = dt*length(h);
time = (0:dt:Tmax-dt);
    
S1=plot(time,PDP);
AX=gca;
set(AX,'FontSize',14);
T=title('Power Delay Profile');
set(T,'FontSize',14);
x=xlabel('Time [s]');
set(x,'FontSize',14);
y=ylabel('Power [V^2]');
set(y,'FontSize',14);

⌨️ 快捷键说明

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