Problems with symbolic solutions of nonlinear and linear solutions
1 次查看(过去 30 天)
显示 更早的评论
syms x x1 x2 y y1 y2 theta p p1 p2 f f1 f2 m m1 m2 a b c d e g h ii jj k r s q w
eq_1 = x1+x2-2*x;
eq_2 = y1+y2-2*y;
eq_3 = 2*w*sin(theta)-x2+x1;
eq_4 = -y2+y1-2*w*(cos(theta)-1);
eq_5 = p1+p2-p;
eq_6 = f1+f2-f;
eq_7 = +m-m1-m2+(p1-p2)*w*cos(theta)+(f1-f2)*w*sin(theta);
eq_8 = f1-a*y1-c*theta-p1*(e*y1+h*theta);
eq_9 = f2-a*y2-c*theta-p2*(e*y2+h*theta);
eq_10 = m1-c*y1-b*theta-p1*(h*y1+g*theta);
eq_11 = m2-c*y2-b*theta-p2*(h*y2+g*theta);
eq_12 = 1/d*p1+[y1,theta]*[ii,k;k,jj]*[y1;theta]+p1*[y1,theta]*[r,q;q,s]*[y1;theta];
eq_13 = 1/d*p2+[y2,theta]*[ii,k;k,jj]*[y2;theta]+p2*[y2,theta]*[r,q;q,s]*[y2;theta];
[x,y,x1,x2,y1,y2,theta,p1,p2,f1,f2,m1,m2] = solve(eq_1,eq_2,eq_3,eq_4,eq_5,eq_6,eq_7,eq_8,eq_9,eq_10,eq_11,eq_12, eq_13,x,y,x1,x2,y1,y2,theta,p1,p2,f1,f2,m1,m2);
I tried to get the symbolic solutions by fuction 'solve' but it keeps giving me "Unable to find explicit solutions".
Just wondering if anyone can show me some tips?
Thanks in advance,
Ke
6 个评论
John D'Errico
2020-3-30
Honestly, I don't know the answer to your question about a direct use of Maple, if that would change anything at all. Others might, or not. Sometimes the only true way to know is a direct test, if that is possible.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!