arbitrary symbolic functions - Symbolic math toolbox

5 次查看(过去 30 天)
I have an equation:
M = A sin(x(t));
and would like to find: dM/dt
is it possible to create symbolic functions without definition? for x(t) I dont have a definition. But I require:
diff(M,t).
How can an arbitrary symbolic function be declared??

采纳的回答

Walter Roberson
Walter Roberson 2013-6-21
A = 9/13; %arbitrary
syms x(t)
M = A * sin(x(t));
diff(M,t)
  4 个评论

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Assumptions 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by