How to make MuPad know a variable is independent to another
Show older comments
I am working on Lagrange's equation of mechanics. How can I make MuPad know that x(t) and y(t) (position in different dimensions) are independent to one another so that diff(x(t),y(t))equal zero. Another question is that how to write MuPad code for partial derivative between x'(t)(velocity) and x(t) to be zero.
Answers (1)
Walter Roberson
on 2 Nov 2011
0 votes
You can only differentiate something with respect to a free variable, so diff(x(t),y(t)) is not a valid computation.
I do not know what your notation x'(t)(velocity) is intended to indicate, exactly ?
Categories
Find more on Get Started with MuPAD 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!