| 2 | 1/1 | 返回列表 |
| 查看: 312 | 回復: 1 | |||
sukijoe新蟲 (初入文壇)
|
[交流]
很簡單的循環(huán)求解,為什么解不出?
|
|
a1=0;a2=0;b1=1; syms('r') i=1; for j=0:pi/8:pi/2 theta(i)=j; sigmaxx(i)=0.5*a1*r^(-0.5)*(1.5*cos(0.5*theta(i))+0.5*cos(2.5*theta(i)))+0.5*b1*r^(-0.5)*(3.5*sin(0.5*theta(i))+0.5*sin(2.5*theta(i)))+a2*4; sigmayy(i)=0.5*a1*r^(-0.5)*(2.5*cos(0.5*theta(i))-0.5*cos(2.5*theta(i)))+0.5*b1*r^(-0.5)*(0.5*sin(0.5*theta(i))-0.5*sin(2.5*theta(i))); sigmaxy(i)=0.5*a1*r^(-0.5)*(-0.5*sin(0.5*theta(i))+0.5*sin(2.5*theta(i)))+0.5*b1*r^(-0.5)*(1.5*cos(0.5*theta(i))+0.5*cos(2.5*theta(i))); sigma1(i)=0.5*(sigmaxx(i)+sigmayy(i))+sqrt((0.5*(sigmaxx(i)-sigmayy(i)))^2+sigmaxy(i)*sigmaxy(i)); sigma2(i)=0.5*(sigmaxx(i)+sigmayy(i))-sqrt((0.5*(sigmaxx(i)-sigmayy(i)))^2+sigmaxy(i)*sigmaxy(i)); sigma3(i)=0.3*(sigma1(i)+sigma2(i)); z(i)=(sigma1(i)-sigma2(i))^2+(sigma2(i)-sigma3(i))^2+(sigma3(i)-sigma1(i))^2-2*26*26; p(i)=solve('z(i)','r') i=i+1; end 顯示: Warning: Explicit solution could not be found. > In solve at 140 ??? Subscripted assignment dimension mismatch. >> |
新蟲 (初入文壇)
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 一志愿哈爾濱工業(yè)大學材料與化工方向336分 +9 | 辰沐5211314 2026-03-26 | 9/450 |
|
|---|---|---|---|---|
|
[考研] 348求調(diào)劑 +3 | 小懶蟲不懶了 2026-03-28 | 3/150 |
|
|
[考研] 0856求調(diào)劑 +6 | 楒桉 2026-03-28 | 6/300 |
|
|
[考研] 0703化學調(diào)劑,求導師收 +9 | 天天好運來上岸?/a> 2026-03-24 | 10/500 |
|
|
[考研] 322求調(diào)劑 +7 | 宋明欣 2026-03-27 | 7/350 |
|
|
[考研] 0856求調(diào)劑 +11 | zhn03 2026-03-25 | 12/600 |
|
|
[考研] 283求調(diào)劑 +7 | A child 2026-03-28 | 7/350 |
|
|
[考研] 材料277求調(diào)劑 +7 | min3 2026-03-24 | 7/350 |
|
|
[考研] 藥學105500求調(diào)劑 +3 | Ssun。。 2026-03-28 | 3/150 |
|
|
[考研] 340求調(diào)劑 +5 | jhx777 2026-03-27 | 5/250 |
|
|
[考博] 26申博 +3 | 加油沖啊! 2026-03-26 | 3/150 |
|
|
[考研] 085600,材料與化工321分,求調(diào)劑 +9 | 大饞小子 2026-03-27 | 9/450 |
|
|
[考研] 求調(diào)劑 +8 | Auroracx 2026-03-22 | 8/400 |
|
|
[考研] 332求調(diào)劑 +6 | 032500 2026-03-25 | 6/300 |
|
|
[考研] 0854AI CV方向招收調(diào)劑 +4 | 章小魚567 2026-03-23 | 4/200 |
|
|
[考研] 求調(diào)劑 +3 | 李李不服輸 2026-03-25 | 3/150 |
|
|
[考研] 282求調(diào)劑 +3 | wcq131415 2026-03-24 | 3/150 |
|
|
[考研] 0854電子信息求調(diào)劑 324 +4 | Promise-jyl 2026-03-23 | 4/200 |
|
|
[考研] 一志愿南航材料專317分求調(diào)劑 +5 | 炸呀炸呀炸薯條 2026-03-23 | 5/250 |
|
|
[考研] 一志愿國科過程所081700,274求調(diào)劑 +3 | 三水研0水立方 2026-03-23 | 3/150 |
|