程序很长,是中间的参数发生改变,然后不知道hold on 和plot怎么加了~~
theta=32*pi/60/180;%入射偏角
x=[];
y=[];
z=[];
fai=0;
for theta=0:0.00013:32*pi/60/180
theta
S=[sin(theta)*cos(0),sin(theta)*sin(fai),cos(theta)
.....
xout(1)=[];
xout=[-fliplr(xout) xout];
n=[fliplr(n) n];
plot(xout,n,'-');
xlabel('r/m')
ylabel('n')
axis([-0.15 0.15 0 350000])
theta发生变化,图变化,想把不同的结果放在一个里面比较哈,谢谢指教哈!本身不是很富有,给5分啦!
前面还有其他图,我改变参数的时候是在过程中哦,还是搞不清~~~