Solving differential equation in matlab

T - T_const = J dw/dt + Bw; where T depends on w and some other parameters.
I want to numerically solve for w. How to proceed.
Thanks

답변 (1개)

Abraham Boayue
Abraham Boayue 2018년 4월 3일

0 개 추천

Try matlab ode45 function or apply Renge Kutta method. You actually do have a simple equation that should be solved by either of the methods above.

댓글 수: 1

Ramu Nair R
Ramu Nair R 2018년 4월 16일
Thanks. I solved it using euler's method. I have another question: whether the solution that i obtained matches with real time. I want to have the same dynamics as in real time. How does the solution differ if i solve it by a different method.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Mathematics에 대해 자세히 알아보기

제품

태그

질문:

2018년 4월 1일

댓글:

2018년 4월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by