symbolic derivation
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I was using the symbolic toolbox to derive equation of a mechanical system. In particular using the Jacobian I get the following result that I do not understand what it means:
D([1, 3], T2)(dq1, dq2, p1(q2))
where
T2 = sym('T2(dq1,dq2,p1(q2))');
0 comentarios
Respuesta aceptada
Walter Roberson
el 15 de Nov. de 2011
In that particular expression, it says, "Take the derivative of T2 with respect to the first parameter, then take the derivative of that result to the third parameter; then evaluate the result at the point where the first parameter has value dq1, the second has parameter dq2, the third has value p1(q2)
As your T2 does not appear to be defined as a function, it has had to proceed completely symbolically. Define T2 as a function at the symbolic level if you want to get any further.
For example,
T2 = sym('(x,y,z) -> x^3*(z-y/2)+y*z^2+5');
Then it would make sense to evaluate the Jacobian of T2 at the point (dq1, dq2, p1(q2))
0 comentarios
Más respuestas (1)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!