Hello to all! I'm trying to set a symbolic variable as a function of "t". This is because I need to obtain something like this:
ans = diff(theta,t)*cos(theta)
but how to tell Matlab that variable theta is a function of time "t"?