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

  • chuanghanshu
    用matlab编程绘制各种窗函数的形状,窗函数形状的长度为21。 (Matlab programming using a variety of window function mapping the shape, the shape of the length of window function is 21.)
    2009-02-08 11:24:24下载
    积分:1
  • bp
    说明:  利用MATLAB实现一个BP网络的控制程序。简单使用(Use MATLAB to achieve a BP network control procedures. Simple to use)
    2009-05-09 21:28:55下载
    积分:1
  • boxplot_percentwhisk
    Normally boxplot plots the whiskers with a maximum length based on the distance between the 25th and 75th percentile. This script uses boxplot but plots the whiskers for a specified percentile and only plots the outliers beyond the new whiskers. Note that the percentile is defined as the data point just beyond the calculated percentile. For example, if the 98th percentile lies between the 4th and 5th highest data points, then the 4th highest data point will be considered the 98th percentile, the whisker will extend to the 4th highest, and only the 4 highest values will be plotted as outliers.
    2009-05-25 02:00:22下载
    积分:1
  • chaincode
    freeman coding for contour
    2011-04-20 17:14:37下载
    积分:1
  • matlab7
    有关matlab7如何运用的介绍,详细,充分(For matlab7 how to use the introduction of a detailed, fully)
    2012-05-04 22:25:31下载
    积分:1
  • QUBIT4MATLAB2.0
    该算法是用于量子运算的matlab程序,包括声称量子态,量子寄存器等(the algorithm for quantum computation Matlab procedures, including the claim that quantum states, such as Quantum Register)
    2007-06-21 20:45:29下载
    积分:1
  • 6PatternRecognitionToolbox
    模式识别工具箱涵盖了很多的图像处理的函数,比如动态的、静态的函数如PCA等等 (Covers a lot of pattern recognition toolbox of image processing functions, such as dynamic, static functions such as PCA and so on)
    2009-03-28 17:18:08下载
    积分:1
  • zengliangpids
    增量PID控制算法,实现PID增量式控制(Incremental PID control algorithm, to achieve incremental PID control)
    2009-01-03 21:43:52下载
    积分:1
  • matlab_algorithms
    很多MATLAB的文章里面的算法都是有的,可以借鉴,哈哈(LMS filter)
    2009-05-09 21:55:06下载
    积分:1
  • ordinarily_ofdm_awgn_ber
    说明:  利用MATLAB实现OFDM系统中AWGN信道(using MATLAB OFDM system AWGN)
    2006-04-05 13:54:36下载
    积分:1
  • 696518资源总数
  • 105885会员总数
  • 31今日下载