Borrar filtros
Borrar filtros

Substitue Symbolic Derivative Term

1 visualización (últimos 30 días)
Rajmohan
Rajmohan el 31 de Mzo. de 2014
Comentada: Walter Roberson el 1 de Abr. de 2014
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 comentario
Walter Roberson
Walter Roberson el 1 de Abr. de 2014
What shows up if you use
evalin(symengine, 'PRETTYPRINT := FALSE');
feval(symengine, 'print', 'NoNL', diff(A,t))

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by