필터 지우기
필터 지우기

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 CenterFile Exchange에서 Numeric Solvers에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by