Isirame Omofuma
Followers: 0 Following: 0
Feeds
提问
How can I define a sym variable, say t and sym functions say q1(t) and q2(t) such that I can create another function say f=q1*q2 and in one instance differentiate f w.r.t. t and in another differentiate f partially w.r.t q1 or q2.
syms t %define q1 and q2 as functions of t q1(t) = sym('q1(t)'); q2(t) = sym('q2(t)'); %define...
9 years 前 | 3 个回答 | 0