(Thissimulinkmodelsimulatesthedampeddrivenpendulum,showingitschaoticmotion.theta=angleofpendulumomega=(d/dt)theta=angularvelocityGamma(t)=gcos(phi)=Forceomega_d=(d/dt)phiGamma(t)=(d/dt)omega+omega/Q+sin(theta)Playwiththeinitialconditions(omega_0,theta_0,phi_0=omega(t=0),theta(t=0),phi(t=0))andthesystemparameters(g,Q,omega_d)andthesolverparameters/method.ChaoscanbeseenforQ=2,omega_d=w/3.TheprogramoutputstoMatlabtime,theta(time)&omega(time).Plotthephasespacevia:plot(mod(theta+pi,2*pi)-pi,omega,.)PlotthePoincaresectionsusing:t_P=(0:2*pi/omega_d:max(time))plot(mod(spline(time,theta+pi,t_P),2*pi)-pi,spline(time,omega,t_P),.)Systemisdescribedin:"Fractalbasinboundariesandintermittencyinthedrivendampedpendulum"E.G.GwinnandR.M.WesterveltPRA33(6):4143(1986)) - IMDN开发者社群-imdn.cn">
登录
首页 » matlab » ForcedPendulum

ForcedPendulum

于 2010-02-17 发布 文件大小:8KB
0 182
下载积分: 1 下载次数: 36

代码说明:

  This simulink model simulates the damped driven pendulum, showing it s chaotic motion. theta = angle of pendulum omega = (d/dt)theta = angular velocity Gamma(t) = gcos(phi) = Force omega_d = (d/dt) phi Gamma(t) = (d/dt)omega + omega/Q + sin(theta) Play with the initial conditions (omega_0, theta_0, phi_0 = omega(t=0), theta(t=0), phi(t=0)) and the system parameters (g, Q, omega_d) and the solver parameters/method. Chaos can be seen for Q=2, omega_d=w/3. The program outputs to Matlab time, theta(time) & omega(time). Plot the phase space via: plot(mod(theta+pi, 2*pi)-pi, omega, . ) Plot the Poincare sections using: t_P = (0:2*pi/omega_d:max(time)) plot(mod(spline(time, theta+pi, t_P), 2*pi)-pi, spline(time, omega, t_P), . ) System is described in: "Fractal basin boundaries and intermittency in the driven damped pendulum" E. G. Gwinn and R. M. Westervelt PRA 33(6):4143 (1986) (This simulink model simulates the damped driven pendulum, showing it s chaotic motion. theta = angle of pendulum omega = (d/dt)theta = angular velocity Gamma(t) = gcos(phi) = Force omega_d = (d/dt) phi Gamma(t) = (d/dt)omega+ omega/Q+ sin(theta) Play with the initial conditions (omega_0, theta_0, phi_0 = omega(t=0), theta(t=0), phi(t=0)) and the system parameters (g, Q, omega_d) and the solver parameters/method. Chaos can be seen for Q=2, omega_d=w/3. The program outputs to Matlab time, theta(time) & omega(time). Plot the phase space via: plot(mod(theta+pi, 2*pi)-pi, omega, . ) Plot the Poincare sections using: t_P = (0:2*pi/omega_d:max(time)) plot(mod(spline(time, theta+pi, t_P), 2*pi)-pi, spline(time, omega, t_P), . ) System is described in: "Fractal basin boundaries and intermittency in the driven damped pendulum" E. G. Gwinn and R. M. Westervelt PRA 33(6):4143 (1986) )

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • mimo16
    matlab比较比较好的代码!程序写的很详细!能够运行!(Winmax good code! Programs written in great detail! Be able to run!)
    2009-09-21 20:09:39下载
    积分:1
  • zuiyouhua
    黄金分割法求极小,返回值fm为函数极小值,tm为极小值点,f为给定函数,t为函数变量,[a,b]为变量t的搜索区间(Golden section method is extremely small, the return value for the function fm minimum, tm for the minimum point, f for a given function, t for the function of variables, [a, b] for variable search interval t)
    2008-12-23 21:21:56下载
    积分:1
  • kalmanfilteringtheoryandpracticeusingmatlab
    kalman filtering theory and practice using matlab
    2010-09-24 23:23:37下载
    积分:1
  • 123
    这是一个关于多目标数据融合的很好的温章,希望对大家有所帮助。原理清晰,见解独特(This is a multi-target data fusion on a good article you want to help. Principle of clear, maverick)
    2010-02-26 16:36:49下载
    积分:1
  • APIT
    APIT定位算法的matlab仿真编码,具体代码段(Of APIT positioning algorithm matlab simulation code, the specific code section)
    2012-05-19 09:45:49下载
    积分:1
  • 38388___introduction_to_simulink_with_engineering
    Introduction to Simulink with Engineering Applications.
    2013-12-02 01:53:26下载
    积分:1
  • genetic-algrithm
    matlab中遗传算法的程序 可供初学者学习 由于有的版本的matlab中遗传算法程序的不好用可以用本程序覆盖一下(Genetic algorithm matlab program for beginners to learn due some bad versions of matlab genetic covered by this program can be used to look at the program' s algorithm)
    2013-12-18 16:45:54下载
    积分:1
  • autopeak
    说明:  自动提取曲线的峰值的matlab程序,比较有用 (Automatic extraction of the peak curve matlab procedures, more useful)
    2008-08-27 10:01:27下载
    积分:1
  • calcDErrorTOA
    在MATLAB中进行编程的实现定位误差分析的一段小程序(A small program of analysis in MATLAB programming to achieve positioning error)
    2012-09-25 20:49:54下载
    积分:1
  • Reservoi-with-PSO
    Reservoir Optimization with PSO
    2015-03-04 18:04:31下载
    积分:1
  • 696518资源总数
  • 104347会员总数
  • 12今日下载