フィルターのクリア

Substitue Symbolic Derivative Term

1 回表示 (過去 30 日間)
Rajmohan
Rajmohan 2014 年 3 月 31 日
コメント済み: Walter Roberson 2014 年 4 月 1 日
I defined symbolic variables and function and took its derivative:
syms t x(t) xdot
A=sin(x);
diff(A,t)
This generated - D(x)(t)*cos(x(t))
Next I tried using the subs command to replace 'D(x)(t)' with xdot but didnt have any success. Does anyone know how to conduct this substitution? What is exact syntax?
Thanks!
Rajmohan
  1 件のコメント
Walter Roberson
Walter Roberson 2014 年 4 月 1 日
What shows up if you use
evalin(symengine, 'PRETTYPRINT := FALSE');
feval(symengine, 'print', 'NoNL', diff(A,t))

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeNumeric Solvers についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by