Solving Matrices in Matlab: T=T04

  • Context: MATLAB 
  • Thread starter Thread starter Shawnzyoo
  • Start date Start date
  • Tags Tags
    Matlab Matrices
Click For Summary

Discussion Overview

The discussion revolves around solving matrices in Matlab, specifically focusing on setting two matrices, T and T04, equal to each other to solve for variables related to the inverse kinematics of a robotic manipulator. The scope includes technical aspects of symbolic computation and nonlinear systems.

Discussion Character

  • Technical explanation, Debate/contested, Mathematical reasoning

Main Points Raised

  • One participant presents two matrices, T and T04, and seeks to solve for theta1, theta2, theta4, and d3 in terms of the elements of T.
  • Another participant questions the notation, asking if it represents a nonlinear system of 16 equations.
  • A third participant inquires whether the intention is to solve the equations symbolically.
  • A participant clarifies that they are addressing the inverse kinematics of a RRP robotic manipulator and explains the significance of T and T04 in this context.
  • It is mentioned that a for loop was used to equate the two matrices, followed by the use of the solve(eqn, var) command, which appears to be functioning correctly for the participant.
  • Another participant expresses a belief that an iterative solution may be the only realistic approach and raises uncertainty about the solvability of all nonlinear systems of equations.

Areas of Agreement / Disagreement

Participants express differing views on the nature of the equations and the methods for solving them, indicating that multiple competing perspectives remain without a consensus on the best approach.

Contextual Notes

There are limitations regarding the clarity of the notation and the assumptions about the solvability of the nonlinear equations, which remain unresolved.

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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 5 ·
Replies
5
Views
14K
  • · Replies 14 ·
Replies
14
Views
6K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 1 ·
Replies
1
Views
7K