Solving for unknown angles

3 ビュー (過去 30 日間)
Rafay Ali
Rafay Ali 2019 年 4 月 3 日
回答済み: Agnish Dutta 2019 年 4 月 12 日
Hello,
I am trying to implement this equation
I need to find the phi in this equation which is unknown. I have the values of all the other variables.
I intend to find out the phi angle through integration but I am confused what value should I put for phi to start with. It is an indefinite integral. Should I just take the maximum value and minimum value from the sensor and run it for say 0 to 2pi for my and plot the curve?
For now I tried making an inline function
f = inline ('-(Vr./l_trail*sin(phi))-(l_truck*wr./l_trail*cos(phi)-wr)','Vr','l_trail','phi','l_truck','wr')
  1 件のコメント
Torsten
Torsten 2019 年 4 月 3 日
help ode45

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

回答 (1 件)

Agnish Dutta
Agnish Dutta 2019 年 4 月 12 日
This seems like an ODE. Here's the documentation detailing how to solve ODE's using MATLAB:

カテゴリ

Help Center および File ExchangeNumerical Integration and Differential Equations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by