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

📄 sa_fig6_5.m

📁 智能天线Matlab版源代码
💻 M
字号:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%                                                        %%%% ****************************************************** %%%% * Smart Antennas for Wireless Applications w/ Matlab * %%%% ****************************************************** %%%%                                                        %%%% Chapter 6: Fig 6.5                                     %%%%                                                        %%%% Author: Frank Gross                                    %%%% McGraw-Hill, 2005                                      %%%% Date:  9/19/2004                                       %%%%                                                        %%%% This code creates Fig 6.5, examples of slow and fast   %%%%     fading channels.                                   %%      %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%      %%------------------ Given Values ------------------%%x = (1:200)/100;  x1 = (1:200)/1600;  x2 = (1:200)/200;y = randn(1,200); y = 1E-5*y/max(y);  % no coefficent can be larger than 1y1 = cos(2*pi*x1);  y2 = .1*cos(2*pi*x2);  ytot = 1E-4*(y1 + y2);%%------------------ Plot Results ------------------%%plot(x,80*log10(ytot) + 304,'k', x,80*log10(ytot + y) + 304,'k:')title('\bfFigure 6.5 - Slow Fading and Fast Fading Examples')xlabel('Distance (km)')ylabel('Received Power')axis([0 2 -30 -10])legend('Slow Fading','Fast Fading')

⌨️ 快捷键说明

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