[問題] syms函數已回收
我利用syms函數來解我想要的方程式的值
如果單單運算幾次都可以算出結果
可是寫個迴圈跑太多次...程式就會在中途停住
出現
Warning: Explicit solution could not be found.
> In solve at 140
In sym.solve at 49
In ACEF0408 at 149
??? Access to an object's fields is only permitted within its methods.
Error in ==> ACEF0408 at 151
KW=[double(s.x(1)) double(s.y(1)) double(s.z(1))];
的錯誤...
可是如果在停住的那個時間點下的pqr值去單跑...就不會有錯誤出現
我是利用p,q,r三個變數分別寫
for p=1:10
for q=1:10
for r=1:10
end
end
end
不知道版上的各位有沒有遇過之類的問題...可以告訴我為什麼會醬...謝謝<(_ _)>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.116.71.105
討論串 (同標題文章)
完整討論串 (本文為第 1 之 2 篇):
問題
1
2