Hi Moritz,
Here theta(t) is not a symbolic variable but a symbolic function. You can differentiate a symbolic expression only w.r.t to a symbolic variable and not a symbolic function. Please refer to the documentation for more details.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!