Error using sym/sin : Too many input arguments
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Abhinay Tadwalkar
le 10 Déc 2018
Commenté : madhan ravi
le 10 Déc 2018
clc;
syms w k c m F0 t
w_n = (k/m)^(1/2);
zeta = c/(2*w_n*m);
A = F0*(k-m*w^2)/((c*w)^2 + (k-m*w^2)^2);
B = F0*c*w/((c*w)^2 + (k-m*w^2)^2);
x = A*cos(w*t) + B*sin(w,t);
xd = jacobian(x,t);
xdd = jacodian(xd,t);
Dynamic_Differential_Equation = m*xdd + c*xd + k*x
0 commentaires
Réponse acceptée
madhan ravi
le 10 Déc 2018
Modifié(e) : madhan ravi
le 10 Déc 2018
x = A*cos(w*t) + B*sin(w,t);
^---- should be *
2 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!