MATLAB Solving Matrices in Matlab: T=T04

  • Thread starter Thread starter Shawnzyoo
  • Start date Start date
  • Tags Tags
    Matlab Matrices
AI Thread Summary
The discussion revolves around solving two matrices in MATLAB, T and T04, to find the variables theta1, theta2, theta4, and d3 related to the inverse kinematics of a RRP robotic manipulator. The user is attempting to set T equal to T04 and solve for the unknowns using the solve command in MATLAB, which appears to be yielding correct results. There is a debate about whether the problem constitutes a nonlinear system of equations and the feasibility of solving such systems symbolically. Some participants suggest that an iterative solution may be more realistic for complex nonlinear equations. The conversation highlights the challenges of symbolic computation in robotic kinematics.
Shawnzyoo
Messages
104
Reaction score
0
I am not sure if this is in the right forum
but i have 2 matrices in Matlab

T =
[ r11, r12, r13, dx]
[ r21, r22, r23, dy]
[ r31, r32, r33, dz]
[ 0, 0, 0, 1]

T04 =
[sin(theta2+theta4+theta1), cos(theta2+theta4+theta1),0, 7*cos(theta1+theta2)+4*cos(theta1)]
[-cos(theta2+theta4+theta1),sin(theta2+theta4+theta1),0, 7*sin(theta1+theta2)+4*sin(theta1)]
[0,0,1,-d3]
[0,0,0,1]

I want to set T=T04 and solve for
theta1, theta2, theta4, and d3 in terms of r11 r12 r13 dx r21 r22 r23 dy r31 r32 r33 dz
is there a command that will do this for me?
thank you
 
Physics news on Phys.org
I don't understand your notation here. Is that supposed to be a nonlinear system of 16 equations, or something else?
 
Are you trying to solve them symbolically?
 
what I am trying to solve is the Inverse Kinematics of a RRP robotic manipulator
what those equations represent is this
T04 is the D-H convention of a robotic manipulator
T is the position vector of a teach pendant


right now i tried using a for loop
to equate the 2 matrices

and then invoked the solve(eqn, var) command to solve for theta1, theta2 .. ect
and it seems to be working correctly

yes i am trying to solve them symbolically
thanks
 
I need to do something like that too! But I think an iterrative solution is probably the only one that will be realisitic. I don't know if all systems of nonlinear equations can be solved, probably not.
 
Back
Top