(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 249
下载积分: 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 个回复

  • Chapter6
    数值解法 例1 用改进的欧拉方法求一阶方程初值问题的 数值解 例2 数学摆的运动方程与近似方程数值解比较 例3 四阶龙格库塔公式求数值解 Matlab实现求数值解 例1 求初值问题y =x*sin(x)-y,y(0)=0的数值 解.先编辑一个定义方程的ODEF函数文件 ODEfun1.m. 例2 求方程组初值问题的数值解,按指定步长 0.05划分节点. 例3 按指定的精度求高阶方程初值问题的数值解.(Numerical Solution of the law a method of using the improved Euler' s equation of order to a first-order initial value problem of the numerical solution of cases of two mathematical pendulum equations of motion compared with the approximate numerical solutions of equations of three cases of fourth-order Runge-Kutta numerical solution of the formula Matlab order to achieve the numerical solution of demand cases seeking an initial value problem y ' = x* sin (x)-y, y (0) = 0 the numerical solution. first, the definition of an equation editor ODEF function file ODEfun1.m. cases of two demand equations initial value problem of numerical solution, according to the specified division of the node step 0.05. Example 3 according to the specified precision of seeking higher-order equation of the numerical solution of initial value problem.)
    2010-02-05 23:14:41下载
    积分:1
  • genetic-TuXiangFenGe
    用matlab写的遗传算法分割程序,用的是Sheffield大学gatbs工具箱 能够运行得到真确结果! (using Matlab write the genetic algorithm to separate procedures, the University of Sheffield gatbs Toolbox can be true operating results!)
    2007-04-14 10:46:04下载
    积分:1
  • 20090903MATLAB
    说明:  MATLAB数值计算,三角函数、随机数、微分方程、差分方程、概率论、统计。(MATLAB numerical calculation, trigonometric functions, random number, differential equations, differential equations, probability theory, statistics.)
    2009-09-03 13:26:58下载
    积分:1
  • IEEE RTS79&96
    可靠性评估经典算例IEEErts96输入调用,matlab编程(Reliability evaluation classic example IEEErts96 input call, matlab programming)
    2021-03-21 11:09:17下载
    积分:1
  • matlab特征值与特征向量数值计算的14个子代码
    说明:  matlab特征值与特征向量的计算有14个例子代码(There are 14 example codes for calculating matlab eigenvalues and eigenvectors)
    2020-06-23 21:40:02下载
    积分:1
  • fuzzy
    一个模糊控制的m文件,可供模糊控制爱好者参考,程序可按需要作相应修改。希望大家共同进步,谢谢!(A fuzzy control of m documents, available for fuzzy control enthusiasts reference, procedures may need to be amended accordingly. I hope that progress can be shared, thank you!)
    2007-08-01 17:00:34下载
    积分:1
  • 使用MATLAB6.5实现的自适应学习速率反向传播网络-bpexamples
    使用MATLAB6.5实现的自适应学习速率反向传播网络(Matlab6.5 achieved using adaptive learning rate back-propagation network)
    2005-02-18 15:20:26下载
    积分:1
  • playlxg
    关于matlab产生声音的一小段程序很好玩 其中编写了好几个小程序(Matlab generate sound on a lot of fun in which a short program written several small programs)
    2011-04-23 23:08:30下载
    积分:1
  • stock
    根据股票每日交易数据,求股票期望收益率和波动率的函数(According to the daily trading data of stocks, the function of stock expected yield and volatility is obtained.)
    2018-05-11 01:47:22下载
    积分:1
  • 干涉仪测向
    程序为相关干涉仪测向方法的matlab仿真。以5元圆天线阵列为接收阵列,计算两元间的相位差,形成标准库,并通过相关的方式测得信号来波方向。(Matlab simulation of the program for the direction finding method of correlation interferometer. With 5 yuan of circular antenna array for receiving array, calculate the phase difference between the two, the formation of the standard library, and through the measured signal wave direction. )
    2020-06-30 21:20:02下载
    积分:1
  • 696518资源总数
  • 104767会员总数
  • 12今日下载