| 2 | 1/1 | 返回列表 |
| 查看: 538 | 回復(fù): 1 | ||
763443895銀蟲 (初入文壇)
|
[求助]
變步長(zhǎng)的非線性方程組求解
|
|
function y=t1(x) %%%%%%%中間變量%%%%%%%%%%%%%%%%%%% M=[cosd(x(1)-x(2))+cosd(x(1))]; N=[sind(x(1)-x(2))+sind(x(1))]; k=x(1)/sind(34.32); q=[cosd(x(4)+x(5)-63.77)+cosd(x(4)+24.81)]; w=[sind(x(4)+x(5)-63.77)+sind(x(4)+24.81)]; e=x(4)/sind(48.743); g=x(1)-x(2)+66.793; h=x(4)+x(5)-63.77; %%%%%%% 6個(gè)非線性方程組 %%%%%%%%%%% y(1)=M+cosd(x(6))*[-sind(e)*q+cosd(e)*w]-sind(x(6))*[cosd(e)*q+sind(e)*w]; y(2)=cosd(x(3))*[sind(k)*M-cosd(k)*N]-sind(x(3))*[-cosd(k)*M-sind(k)*N]-q; y(3)=sind(x(3))*[sind(k)*M-cosd(k)*N]+cosd(x(3))*[-cosd(k)*M-sind(k)*N]-sind(x(6))*[-sind(e)*q+cosd(e)*w]-cosd(x(6))*[cosd(e)*q+sind(e)*w]; y(4)=cosd(g)+cosd(x(6))*[sind(h)*sind(e)+sind(h)*cosd(e)]-sind(x(6))*[sind(e)*sind(h)+cosd(e)*cosd(h)]; y(5)=cosd(x(3))*(cosd(k)*sind(g)-sind(k)*cosd(g))+sind(x(3))*(sind(g)*sind(k)+cosd(g)*cosd(k))-cosd(h); y(6)=cosd(x(3))*(sind(k)*sind(g)+cosd(k)*cosd(g))-sind(x(3))*(sind(g)*cosd(k)-sind(g)*cosd(k))-sind(x(6))*(sind(e)*cosd(h)+sind(h)*cosd(e)) -cosd(x(6))*(sind(h)*sind(e)+cosd(e)*cosd(h)); 6個(gè)未知數(shù),假設(shè)已知6個(gè)未知數(shù)的一組解為[3,4,5,6,3,4], 想讓x(3)按照步長(zhǎng)為1求解其他5個(gè)參數(shù)。。 主程序該怎么寫,新手,求大神幫忙, 已經(jīng)知道用fsolve進(jìn)行求解,可是結(jié)果不是想要的 結(jié)果格式應(yīng)該是: x(1) 3 x(2) 4 x(3) 5 4 3 2 1 x(4) 6 x(5) 3 x(6) 4 |

新蟲 (初入文壇)
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|
|
[考研] 307求調(diào)劑 +18 | 超級(jí)伊昂大王 2026-03-24 | 20/1000 |
|
|---|---|---|---|---|
|
[考研] 福建理工大學(xué)材料學(xué)院先進(jìn)合金團(tuán)隊(duì)招收考研調(diào)劑學(xué)生 +3 | 大華金商都 2026-03-30 | 4/200 |
|
|
[考研] 266分,求材料相關(guān)專業(yè)調(diào)劑 +6 | 哇呼哼呼哼 2026-03-30 | 8/400 |
|
|
[有機(jī)交流]
10+3
|
kaobao456 2026-03-29 | 4/200 |
|
|
[考研] 309求調(diào)劑 +15 | 誰不是少年 2026-03-29 | 15/750 |
|
|
[考研] 342求調(diào)劑 +4 | 加油a李zs 2026-03-26 | 4/200 |
|
|
[考研] 材料與化工272求調(diào)劑 +21 | 阿斯蒂芬2004 2026-03-28 | 21/1050 |
|
|
[考研] 321求調(diào)劑 +7 | 璞玉~~ 2026-03-25 | 8/400 |
|
|
[考研] 0703化學(xué)調(diào)劑,求導(dǎo)師收 +9 | 天天好運(yùn)來上岸?/a> 2026-03-24 | 10/500 |
|
|
[考研] 295求調(diào)劑 +5 | 1428151015 2026-03-27 | 6/300 |
|
|
[考研] 265求調(diào)劑 +8 | 小木蟲085600 2026-03-27 | 8/400 |
|
|
[考研] 一志愿南師大0703化學(xué) 275求調(diào)劑 +4 | Ripcord上岸 2026-03-27 | 4/200 |
|
|
[考研] 298調(diào)劑 +3 | jiyingjie123 2026-03-27 | 3/150 |
|
|
[考研] 336材料求調(diào)劑 +7 | 陳瀅瑩 2026-03-26 | 9/450 |
|
|
[考研] 環(huán)境專碩324分求調(diào)劑推薦 +5 | 軒小寧—— 2026-03-26 | 5/250 |
|
|
[考研] 材料與化工304求B區(qū)調(diào)劑 +3 | 邱gl 2026-03-25 | 3/150 |
|
|
[考研] 各位老師您好:本人初試372分 +5 | jj涌77 2026-03-25 | 6/300 |
|
|
[考研] 086003食品工程求調(diào)劑 +6 | 淼淼111 2026-03-24 | 6/300 |
|
|
[考研] 300分,材料,求調(diào)劑,英一數(shù)二 +5 | 超贊的 2026-03-24 | 5/250 |
|
|
[考研]
|
黃粱一夢(mèng)千年 2026-03-24 | 3/150 |
|