syms dependent on time with dots
Show older comments
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!
Answers (1)
Categories
Find more on Univariate Discrete Distributions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!