精華區beta MATLAB 關於我們 聯絡資訊
內元素運算方程式要注意 矩陣加減是直接進行元素運算沒錯 但是矩陣的乘除並不是進行內元素運算 所以要進行內元素運算的話 乘除(還有次方)前要多加一個"." 所以 改成這樣試試看吧 H=T ./(pi* 0.1*(U+V)).* (sin(pi*0.1* (U + V))).* exp(-jpi*0.1* (U+V)) -- Deserves death! I daresay he does. Many that live deserve death. And some die that deserve life. Can you give that to them? Then be not too eager to deal out death in the name of justice, fearing for your own safty. Even the wise cannot see all ends. Gandalf to Frodo -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 220.131.231.161 ※ 編輯: Gwaewluin 來自: 220.131.231.161 (11/12 16:23)