why do I receive syms requires Symbolic math tool box
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Luqman Alabri
am 9 Dez. 2022
Kommentiert: Luqman Alabri
am 9 Dez. 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 Kommentare
Akzeptierte Antwort
Stephan
am 9 Dez. 2022
Bearbeitet: Stephan
am 9 Dez. 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
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!