[討論] 數值積分出現的錯誤訊息

看板MATLAB作者 (f01730)時間12年前 (2013/05/08 16:28), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/1
Td=343; T=1:1:2000; y=Td./T syms x f=@(x) x.^3./(exp(x)-1); quad(f,0,y); 出現 Error using ===> quad at 70 The limit of integration must be scalars. 各位大大 不知道有什麼方法可以解決呢? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.116.234.134

05/09 03:18, , 1F
quad(f,a,b), a and b should be scalar, so try using for
05/09 03:18, 1F

05/09 03:18, , 2F
loop
05/09 03:18, 2F
文章代碼(AID): #1HYWocVB (MATLAB)