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

 採用された回答

Bjorn Gustavsson
Bjorn Gustavsson 2022 年 11 月 9 日

0 投票

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 件のコメント

daniel tarp
daniel tarp 2022 年 11 月 9 日
yes it is a Euler-lagrange equation i will look into the toolboks thanks.
Bjorn Gustavsson
Bjorn Gustavsson 2022 年 11 月 29 日
Did these tools help solve your problem?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Simscape Multibody についてさらに検索

製品

リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by