如何用MATLAB编写六元一次方程组这是我编的程序,但是不对a=2.578b=40s=82XA=a*(cos(s)+(pi/180)*(s+b)*sin(s))YA=a*(sin(s)-(pi/180)*(s+b)*cos(s))XB=a*(cos(s+180)+(pi/180)*(s+180-b)*sin(s+180))YB=a*(sin(s+180)-(pi/180)*(s+180-b)*cos(s+

来源:学生作业帮助网 编辑:作业帮 时间:2024/12/01 11:41:14
如何用MATLAB编写六元一次方程组这是我编的程序,但是不对a=2.578b=40s=82XA=a*(cos(s)+(pi/180)*(s+b)*sin(s))YA=a*(sin(s)-(pi/180)*(s+b)*cos(s))XB=a*(cos(s+180)+(pi/180)*(s+180-b)*sin(s+180))YB=a*(sin(s+180)-(pi/180)*(s+180-b)*cos(s+
xWmSG+bd >]@qD5ڝEs^ͮwvyɇ\lC^Lp8H8WUbRp3Z YɎܷLO?=+isP--̔&?H6v_%wo|Yw݃'w~<<t?>݀Vr.ZűFBǬz5 i6rA522,J}D9f}!q#$dQnd\7H_,Br!$s"!{9ezsm->k/Yz 48K7! βbY7ߴ(j8[ϙ=*18G+[LtRG55<1_4\Eš9Viܬ\KSϔ>{vxپ}t,7|8YAnBWI^5rd`͛# j6 ‹-:HPvsߍ9*G9i{f).5LMs 5P9lDiз ~*Ӆ<[[G(iZD@аR5 ]NK4b* F1b7r&ZQbsI i[?~-T3hʣV%֢kA-xΓe !Q2KuTDf"#c<)s韲o@<-}!7⨩+*lE9QjGӵEeNa.\QA͜u!/-4Hb;~-wp 4~AW%W$YhRHBV1GhMQ\Ϻb)NØ1(QqT& Km*5Û1E@s4#Fq?lr$č9em^$cנ~ + .hѕ: ?%DbA://<$h(<&x+hCDEB iG B>"%HZ%WLAx&fBa5x4R6aC̛iL@UİTǑPI jsf}Aq! a0.6%37 8B[g4=;zs4]ZTi Í 'n5zQ,q_zJAp'ئs,y>Wb\A/qS(YTB< 6"^(*Jesg먪C`"?x+!\x\oR8*K&ɨ ]F&@C҇ r;ҍCIJcvSڹc-M(Ϥ.%sp\BƢS~*`Y& Q,NRc{ jry)}-V$Ya(gT.Kk\!::\؂2+s_FnJy-cr E1yeK֑G UK2`bHg|>hC^O[C'{΃?l;gdQd7<| 7J{~ꛦ-${;!Rg_ջ?G$ a^~6t)!1ڀ4-q]W~S]s0r%ٸ|wwF+clÖiWtn{>djS}>JudVDI[p`H9> o(&/\7Z

如何用MATLAB编写六元一次方程组这是我编的程序,但是不对a=2.578b=40s=82XA=a*(cos(s)+(pi/180)*(s+b)*sin(s))YA=a*(sin(s)-(pi/180)*(s+b)*cos(s))XB=a*(cos(s+180)+(pi/180)*(s+180-b)*sin(s+180))YB=a*(sin(s+180)-(pi/180)*(s+180-b)*cos(s+
如何用MATLAB编写六元一次方程组
这是我编的程序,但是不对
a=2.578
b=40
s=82
XA=a*(cos(s)+(pi/180)*(s+b)*sin(s))
YA=a*(sin(s)-(pi/180)*(s+b)*cos(s))
XB=a*(cos(s+180)+(pi/180)*(s+180-b)*sin(s+180))
YB=a*(sin(s+180)-(pi/180)*(s+180-b)*cos(s+180))
[R1,R2,XO1,X02,YO1,YO2]=solve('(XO1-XA)^2+(YO1-YA)^2=R1^2','YO1=(a-X01*cos(s))/sin(s)','(XO2-XB)^2+(YO2-YB)^2=R2^2','YO2=-1*(a+X02*cos(s))/sin(s)','R2=R1+(180-2*b)*(PI/180)*a','R1+R2=sqrt((XO1-XO2)^2+(YO1-YO2)^2)','R1','R2','XO1','XO2','YO1','YO2')
错误提示
Configuration:
MATLAB Version:6.5.0.180913a (R13)
Operating System:Microsoft Windows XP
Window System:Version 5.1 (Build 2600:Service Pack 3)
Processor ID:x86 Family 15 Model 12 Stepping 2,AuthenticAMD
Virtual Machine:Java 1.3.1_01 with Sun Microsystems Inc.Java HotSpot(TM) Client VM
(mixed mode)
Register State:
EAX = 162e7638 EBX = 00000000
ECX = 00000101 EDX = 1ac403d8
ESI = 1ac403d8 EDI = 1ac403d8
EBP = 00dfa238 ESP = 00dfa1fc
EIP = 1630a001 FLG = 00010246
Stack Trace:
[0] mapleoem.dll:0x1630a001(0x1ac403d8,4,0x16309e9f,0x1ac403d8)
This error was detected while a MEX-file was running.If the MEX-file
is not an official MathWorks function,please examine its source code
for errors.Please consult the External Interfaces Guide for information
on debugging MEX-files.
If it is an official MathWorks function,please
follow these steps in reporting this problem to The MathWorks so
that we have the best chance of correcting it:
1.Send this crash report to segv@mathworks.com for automated analysis.
For your convenience,this information has been recorded in:
C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\matlab_crash_dump.2572
2.Also,if the problem is reproducible,send the crash report to
support@mathworks.com along with:
- A specific list of steps that will reproduce the problem
- Any M,MEX,MDL or other files required to reproduce the problem
- Any error messages displayed prior to this crash report
A technical support engineer will contact you with further information.
Thank you for your assistance.Please save your workspace and restart
MATLAB before continuing your work.
Error in ==> D:\ruanjiananzhuang\toolbox\symbolic\maplemex.dll
Error in ==> D:\ruanjiananzhuang\toolbox\symbolic\maple.m
On line 116 ==> [result,status] = maplemex(statement);
Error in ==> D:\ruanjiananzhuang\toolbox\symbolic\solve.m
On line 65 ==> maple('_EnvExplicit := true;');
Error in ==> D:\ruanjiananzhuang\work\Untitled2.m
On line 11 ==> [R1,R2,XO1,X02,YO1,YO2]=solve('(XO1-XA)^2+(YO1-YA)^2=R1^2','YO1=(a-X01*cos(s))/sin(s)','(XO2-XB)^2+(YO2-YB)^2=R2^2','YO2=-1*(a+X02*cos(s))/sin(s)','R2=R1+(180-2*b)*(PI/180)*a','R1+R2=sqrt((XO1-XO2)^2
>>

如何用MATLAB编写六元一次方程组这是我编的程序,但是不对a=2.578b=40s=82XA=a*(cos(s)+(pi/180)*(s+b)*sin(s))YA=a*(sin(s)-(pi/180)*(s+b)*cos(s))XB=a*(cos(s+180)+(pi/180)*(s+180-b)*sin(s+180))YB=a*(sin(s+180)-(pi/180)*(s+180-b)*cos(s+
我粘贴了你的那段 程序 放在M文件里运行,好半天 给出来 一堆quit:
和几个错误,好像是最后一行有毛病,算不下去了
.
.
.
.
.
Quit:
Quit:
Quit:
Quit:
Quit:
Quit:
Error in ==> maple at 113
[result,status] = maplemex(statement);
Error in ==> solve at 119
[R,stat] = maple('solve',eqns,vars);
Error in ==> fff at 8
[R1,R2,XO1,X02,YO1,YO2]=solve('(XO1-XA)^2+(YO1-YA)^2=R1^2','YO1=(a-X01*cos(s))/sin(s)','(XO2-XB)^2+(YO2-YB)^2=R2^2','YO2=-1*(a+X02*cos(s))/sin(s)','R2=R1+(180-2*b)*(PI/180)*a','R1+R2=sqrt((XO1-XO2)^2
>>
我用3G内存的机器,弄完了,MATLAB2006a 占了1.8G内存
你换个MATLAB版本,代码可能有毛病,上面两位已经给了,好像比你写的多好几行

如何用MATLAB编写六元一次方程组这是我编的程序,但是不对a=2.578b=40s=82XA=a*(cos(s)+(pi/180)*(s+b)*sin(s))YA=a*(sin(s)-(pi/180)*(s+b)*cos(s))XB=a*(cos(s+180)+(pi/180)*(s+180-b)*sin(s+180))YB=a*(sin(s+180)-(pi/180)*(s+180-b)*cos(s+ 如何用MATLAB求解18元一次方程组,即用18个方程来求解其中的18个未知数 如何用matlab编写一个分段函数 如何用matlab编写这个公式? 求教如何用matlab解方程组.这是一个四元一次方程组,最后求传递函数G=X3/f 的表达式.请写出程序,谢谢方程组中的三个方程:-6*(X1)-2*S*( (X2) - (X1) ) = 4(S^2)* (X1) ; f - 2S*(X1) -6*( (X3) - (X2) ) = 4*(S^2)*(X2 请问怎么用matlab编写解四元一次方程组的代码? matlab 如何用matlab解下面这个方程组? matlab二重积分函数编写如何用MATLAB编写上方的积份和椭圆方程,急. 如何用MATLAB求解如下代数黎卡提方程组? 如何用一次函数图象二元一次方程组近似解? 用matlab如何解如图方程组,具体如何编写,matlab菜鸟求助如图 请教如何用matlab求多元二次方程组?X1+X2*X3+X3=100X1-X2+2*X3=90X1*X3+X2*X3=300这样的方程如何求解,我不会用matlab .请大侠仔细地说一下.关键的是我要解的方程组是23元二次方程组。上面的那个列子是 如何用matlab来求解多元一次现性方程 如何用matlab解二维的非线性偏微分方程组,其中每个方程是抛物线型的 如何用几何方法解二元一次方程组 如何用二元一次方程组快速解应用题? 如何用Matlab解偏微分方程组该方程组由两个抛物型偏微分方程组成 如何用matlab编写求该函数最大值?1.设S,A(0