看板 MATLAB 關於我們 聯絡資訊
小弟是matlab新手 剛剛想用matlab的quad指令去積分 x^(-1)*cos(x) 從1~2 但始終沒有成功 出現下段文字 ??? Error using ==> inlineeval at 15 Error in inline expression ==> x^(-1)*cos(x) ??? Error using ==> mpower Matrix must be square. Error in ==> inline.subsref at 27 INLINE_OUT_ = inlineeval(INLINE_INPUTS_, INLINE_OBJ_.inputExpr, INLINE_OBJ_.expr); Error in ==> quad at 77 y = f(x, varargin{:}); 想請教各位要如何打才能跑出值 謝謝大家!!! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.35.139.238 ※ 編輯: yilinmilk 來自: 114.35.139.238 (05/01 22:30)
vincent59:x.^(-1)*cos(x)嗎??? 05/01 23:10
ejialan:x.^(-1).*cos(x) 05/01 23:49