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

📄 sa_fig2_1.m

📁 智能天线Matlab版源代码
💻 M
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                                           %%%%  ******************************************************   %%%%  * Smart Antennas for Wireless Applications w/ Matlab *   %%%%  ******************************************************   %%%%                                                           %%%% Chapter 2: Fig 2.1                                        %%%%                                                           %%%% Author: Frank Gross                                       %%%% McGraw-Hill, 2005                                         %%%% Date:  9/05/2005                                          %%%%                                                           %%%% This code produces Figure 2.1, a plot of the ratio between%%%%     the attenuation and phase constant of the Helmholtz   %%%%     wave equation for a range of frequencies.             %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      %%------------------- Define Variables:----------------------%%% f - range of frequencies (Hz)                               %% ab - ratio of alpha to beta given frequency f               %%%-----------------------------------------------------------%%f = .001:.001:1000;ab = sqrt((sqrt(1+f.^2)-1)./(sqrt(1+f.^2)+1));%%----- Plot Results -----%%figure(1), semilogx(f,ab,'k',.01,1,'k--',100,1,'k--')xlabel('\sigma/\omega\epsilon'), ylabel('\alpha / \beta')title('\bfFigure 2.1 - Ratio of Attenuation Constant (\alpha) to Phase Constant (\beta)')% Add text to plottext(3E-3,.4,'Good Insulator','FontSize',10,'rotation',90)text(300,.4,'Good conductor','FontSize',10,'rotation',90)% Add line to plotline([.01 .01],[0 1],'color','k','linestyle','--')line([100 100],[0 1],'color','k','linestyle','--')

⌨️ 快捷键说明

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