[討論] 我這個哪裡打錯了~~~已回收

看板MATLAB作者 (貓大便)時間14年前 (2011/10/12 18:21), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
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
plot裡面的.換成,
10/12 18:26, 1F
※ 編輯: becomesonumb 來自: 134.208.5.101 (10/15 20:33)

10/17 20:06, , 2F
修推文?
10/17 20:06, 2F
文章代碼(AID): #1EbMerPf (MATLAB)