why do I receive syms requires Symbolic math tool box
54 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Luqman Alabri
il 9 Dic 2022
Commentato: Luqman Alabri
il 9 Dic 2022
syms M m L q d_q dd_q x d_x dd_x g b J F
eq1= (M+m)*dd_x + m*L*(dd_q*cos(q)-d_q^2*sin(q))+b*d_x-F;
eq2= (J+mL)*dd_q+m*L*dd_x*cos(q)+m*L*g*cos(q);
solu=solve(eq1,eq2,dd_x,dd_q)
solu.dd_x
solu.dd_q
0 Commenti
Risposta accettata
Stephan
il 9 Dic 2022
Modificato: Stephan
il 9 Dic 2022
"why do I receive syms requires Symbolic math tool box?" - Simple: Because syms is part of the symbolic toolbox. If your license doesn't cover that toolbox you are not able to use it's features.
In eq2 i replaced (J+mL) through (J+m*L):
syms M m L q d_q dd_q x d_x dd_x g b J F
eq1= (M+m)*dd_x + m*L*(dd_q*cos(q)-d_q^2*sin(q))+b*d_x-F;
eq2= (J+m*L)*dd_q+m*L*dd_x*cos(q)+m*L*g*cos(q);
solu=solve(eq1,eq2,dd_x,dd_q)
solu.dd_x
solu.dd_q
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Symbolic Math Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!