欢迎来到天天文库
浏览记录
ID:57689120
大小:86.50 KB
页数:2页
时间:2020-09-01
《matlab画电基本振子立体方向图.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、1.立体图程序:clearall;clc;theta=(0:pi/100:pi)+pi/100;phi=0:pi/100:2*pi;form=1:length(theta)E(m)=cos(pi*cos(theta(m))/2)/sin(theta(m));forn=1:length(phi)x(m,n)=E(m)*sin(theta(m))*cos(phi(n));y(m,n)=E(m)*sin(theta(m))*sin(phi(n));z(m,n)=E(m)*cos(theta(m));endendsurf(x,y,z);2.E面的图源程序:t=0:2*pi/90:2*pi
2、;y=abs(sin(t));polar(t,y);[pic]
此文档下载收益归作者所有