arbitrary symbolic functions - Symbolic math toolbox

3 vues (au cours des 30 derniers jours)
Maria Perdomo
Maria Perdomo le 21 Juin 2013
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??

Réponse acceptée

Walter Roberson
Walter Roberson le 21 Juin 2013
A = 9/13; %arbitrary
syms x(t)
M = A * sin(x(t));
diff(M,t)
  4 commentaires
Maria Perdomo
Maria Perdomo le 21 Juin 2013
2010b. I'll try a newer version. Thanks!
Maria Perdomo
Maria Perdomo le 21 Juin 2013
yep it is, 2012a works.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Mathematics dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by