フィルターのクリア

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