필터 지우기
필터 지우기

symbolic derivation

조회 수: 2 (최근 30일)
Gianni
Gianni 2011년 11월 15일
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))');

채택된 답변

Walter Roberson
Walter Roberson 2011년 11월 15일
This D() result must be read in terms of the MuPad D partial-derivative operator.
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))

추가 답변 (1개)

Gianni
Gianni 2011년 11월 16일
Thank you very much!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by