필터 지우기
필터 지우기

Making ODE45 stop at periodic solutions?

조회 수: 3 (최근 30일)
Arturo Fernandez Lopez
Arturo Fernandez Lopez 2019년 12월 27일
답변: Abhisek Pradhan 2020년 1월 3일
I am working with a Duffin oscillator:
% Recover Quadcopter variables
z = State(1,1);
w = State(2,1);
%%%%%%%%%%%%%%%%%%%%5
F(1,1) = w;
F(2,1) = epsilon*cos(omega_rho*t)-k0*z-k1*z^3-f0*w;
I wanted to find the exsistance and stability of periodic solutions. For that I wanted to evaluate the system with ODE45 and create an event that stops the integration when a periodic/quasi-periodic solution is found, but the basic event locator seems like it cnnot do it, since it cannot evaluate previous states of the solution. I have also read about Delay Differential Equation solvers and event locators, but someone said that it did not work well with quasi-periodic solutions, which I need. Is there a way to do this? If it is done using DDEs, how exactly?

답변 (1개)

Abhisek Pradhan
Abhisek Pradhan 2020년 1월 3일
Event Functions can be used to determine an appropriate time to stop the solution but it does have few limitations.
Delay Differential solvers should work good for this scenario if the appropriate solver is selected.
Refer the following link to know more about Delay differential solvers, types of solvers and where they can be used.
Refer this for examples on solving Delay differential equations.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by