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

📄 sa_fig6_8.m

📁 智能天线Matlab版源代码
💻 M
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                                         %%%% ******************************************************  %%%% * Smart Antennas for Wireless Applications w/ Matlab *  %%%% ******************************************************  %%%%                                                         %%%% Chapter 6: Fig 6.8                                      %%%%                                                         %%%% Author: Frank Gross                                     %%%% McGraw-Hill, 2005                                       %%%% Date:  9/29/2004                                        %%%%                                                         %%%% This code creates Fig 6.8, a plot of an Exponential PDF %%%%     equal to the power of the envelope for a Rayleigh   %%%%     distribution for two different average power values,%%%%     po = 2 & 4 uW.                                      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%------------------- Define Variables:--------------------%%% po1, po2 - Average power of envelope                      %% p - Power of envelope                                     %% p1, p2 - Exponential PDF for power in envelope            %%%---------------------------------------------------------%%%%------------------ Given Values ------------------%%po1 = 2;    po2 = 4;p = 0:.01:6;%%------- Determine Exponential Distributions ------%%p1 = exp(-p/po1)/po1;    p2 = exp(-p/po2)/po2;%%------------------ Plot Results ------------------%%plot(p,p1,'k',p,p2,'k:')axis([0 6 0 .5])title('\bfFig 6.8 - Exponential PDF vs. Power for p_o_1 & p_o_2','Fontweight','bold')xlabel('Power (\muW)')ylabel('p(p)')legend('p_o_1 = 2\muW','p_o_2 = 4\muW')

⌨️ 快捷键说明

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