dear all
i use following code to find answer of the following equation :
u ̈+u+u^3=0
function dydt= vdp1(t,u)dydt=[u(2);-u(1)-((u(1))^3)];
clcclear allfor a=0.1:0.1:0.3[t,y]=ode45(@vdp1,[0 60],[0 a]);hold onplot(t,y(:,1)) end
is there any way to find frequency and domain of this equation ? i know ode 45 gives nonuniform answer but can i use interpolation to finde the maximum of domain and The intersection with the x axis
In summary i want to find exact amount of red and green dot
Best Answer