[討論] 我這個哪裡打錯了~~~已回收
clear all
n1=1.5;
n2=1;
theta_in=1:1:90;
gammar=((n1^2*sin(theta_in/180*pi)-n2^2).^0.5)./(n1.*cos(theta_in/180*pi));
phase_TE=180./pi*(-2)*atan(gammar);
phase_TM=180./pi*(-2)*atan(gammar*n1^2/n2^2);
plot(theta_in.phase_TE.'-+')
HOLD ON;
PLOT(theta_in.phase_TM.'-o');
可以幫我找出裡面的錯誤嗎?
應該是後面三句打錯了~
謝謝~~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 134.208.5.15
推
10/12 18:26, , 1F
10/12 18:26, 1F
※ 編輯: becomesonumb 來自: 134.208.5.101 (10/15 20:33)
→
10/17 20:06, , 2F
10/17 20:06, 2F