看板 MATLAB 關於我們 聯絡資訊
clear all format long syms x a b thx f=-0.0003*x^2+0.0001*x+1.989; area=int(f,0,pi/2); integralf=@(a,b) int(f,x,a,b); th=zeros(10); for i=1:9 th(i+1)=double(vpa(solve(integralf(th(i),thx)-area*1/10))); end 以上是我的程式 顯示錯誤訊息是 ??? In an assignment A(I) = B, the number of elements in B and I must be the same. 希望有好心大大能幫我解決一下 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 120.126.11.120