syms dependent on time with dots
28 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hello,
I have a question. I want to implement the time derivative of u in the following way in Matlab:
syms theta t
syms phi t
u = 5*cos(theta)+phi
u_dot = diff(u,t);
When I execute this code, I end up with u_dot = 0, which is not what I want.
Does someone maybe know how to get the u_dot in the above form?
Thanks in advance!
0 comentarios
Respuestas (1)
Ver también
Categorías
Más información sobre Symbolic Math Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!