I have this equation which returns "Warning: Unable to find explicit solution" when i use solve on it, the equation and the variabel is symfun. And i am not sure what is wrong?
i have tried dsolve whit no luck same return.
i have tried with and without numerical values
tau_1 = diff(diff(L,diff(theta,t)),t)-diff(L,theta)
tau_m = Dm*(PS-PT)*alpha_m-Bv*diff(theta,t)
equ = tau_1==tau_m
thetadd = diff(theta,t,t);
THETAdd = solve(equ,thetadd)
and if more info is needed it can be provided
if someone have an idea it would help alot thanks

 Risposta accettata

Bjorn Gustavsson
Bjorn Gustavsson il 9 Nov 2022

0 voti

This looks like an attempt to derive and solve equations of motion with Euler-Lagrange equations. If that's the case there are tools to facilitate that available on the file exchange: euler-lagrange on FEX. The euler-lagrange-tool-package is the one I think I started using.
HTH

2 Commenti

yes it is a Euler-lagrange equation i will look into the toolboks thanks.
Did these tools help solve your problem?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Simscape Multibody in Centro assistenza e File Exchange

Prodotti

Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by