Doing dynamic model of RRRR robot manipulator, using Lagrange equation:

D(q)∗q′′+C(q,q′)∗q′+g(q)=τ , in Matlab, the issue is that, I'm getting very long-long terms, every equation is a couple of pages, I also tried to extract the inertia matrix, again very long terms are there; I reviewed my code, and try use: simplify, rewrite, combine, factor ... commands, but doesn't work. The strange thing is that, I see there are many term involving sin and cos, similar to each others, but there are staying separately.

Any Suggestions

More Amin A. Mohammed's questions See All
Similar questions and discussions