sa_ex3_4.m
来自「这个是英文版<<Smart Antennas for Wireles」· M 代码 · 共 11 行
M
11 行
% Example 3.4 plotting the 3-D mesh pattern for cos(theta)^2.
fx=inline('cos(theta)^2*sin(theta)*cos(phi)')
fy= inline('cos(theta)^2*sin(theta)*sin(phi)')
fz = inline('cos(theta)^2*cos(theta)')
figure
ezmesh(fx,fy,fz,[0 2*pi 0 pi],100)
colormap([0 0 0])
axis equal
set(gca,'xdir','reverse','ydir','reverse')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?