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

📄 pdf_sim.m

📁 jakes模型
💻 M
字号:
%--------------------------------------------------------------------
% pdf_sim.m ---------------------------------------------------------
%
% Program for the computation of probability density functions p(z).
%
%--------------------------------------------------------------------
% p_z=pdf_sim(xi_t,z,PLOT)
%--------------------------------------------------------------------
% Explanation of the input parameters:
%
% xi_t: deterministic process or time-domain signal to be analysed
% with respect to the probability density function p(z).
% z: equidistant level vector
% PLOT: plot of the resulting probability density function p(z),
% if PLOT==1
function p_z=pdf_sim(xi_t,z,PLOT)

if nargin==2,
   PLOT=0;
end
p_z=hist(xi_t,z)/length(xi_t)/abs(z(2)-z(1));
if PLOT==1,
   plot(z,p_z,'mx')
   xlabel('z')
   ylabel('p(z)')
end

⌨️ 快捷键说明

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