main
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%系统方程(圆盘不平衡)
% x'' + 2ξx' + x +γ( x.^2 + y.^2) x = e*ω_bar.^2cosτ
% y'' + 2ξy' + y +γ( x.^2 + y.^2) y = e*ω_bar.^2sinτ - G
% G =g/(ω.^2*δ) ;τ=ω*t
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%初始参数
% 2ξ = 0. 24
% ω_bar = 2. 1
% γ = 0. 5
%偏心量e :[0. 08 ~0. 18 ]
%e = 0. 1175、0. 1384 和0. 1750
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
keci=0.12;
omega_bar=2.1;
gama=0.5;
delta=0.1;
omega=2.0;
G=9.8/(omega.^2*delta);
% e=0.08:0.01:0.18;
t=0:500;
tao=omega*t;
initial=[0,0,0,0];
cf=[];
ccf=[];
e=[ 0.1175, 0.1384 ,0.1750];
for i=1:length(e)
% if e(i)==0.1175 || e(i)==0.1384||e(i)==0. 1750
coef=[2*keci,1,gama,e(i)*omega_bar.^2,-G];
% for t=0:0.1:500;%500个周期(omega)
[t,f]=ode45('right',tao,initial,[],coef);
cf=[cf;f];
% ccf=[ccf;cf];
% end
end
figure
title('PointCare 图');
plot(cf(2,:),f(1,:))
xlabel('位移')
ylabel('速度')
function f=right(t,x,flag,coef)
f=[x(2);
-x(2)*coef(1)-coef(2)*x(1)-coef(3)*(x(1).^2+x(3).^2)*x(1)+coef(4)*cos(t);
x(4);
-x(4)*coef(1)-coef(2)*x(3)-coef(3)*(x(1).^2+x(3).^2)*x(1)+coef(4)*sin(t)-coef(5)];
[ 本帖最后由 无水1324 于 2008-11-28 16:55 编辑 ] |