Spendu(Sim.DiffProc)
Spendu()所属R语言包:Sim.DiffProc
Stochastic pendulum
随机摆
译者:生物统计家园网 机器人LoveR
描述----------Description----------
You can see from this simulation the stochastic pendulum, the temporal graph and the phase portrait.
你可以看到从这个模拟的随机钟摆,时间图和相图。
用法----------Usage----------
Spendu(N, T, theta0, theta1, lambda, omega, sigma, Step = FALSE, Output = FALSE)
参数----------Arguments----------
参数:N
size of process.
大小的处理。
参数:T
final time.
最后的时间。
参数:theta0
Initial conditions, position (rad), -pi < theta0 < pi.
初始条件,位置(RAD),-pi < theta0 < pi。
参数:theta1
Initial conditions, speed (rad/s).
初始条件,速度(弧度/秒)。
参数:lambda
Amortization (1/s).
摊销(1 / S)。
参数:omega
Angular frequency (rad/s).
角频率(弧度/秒)。
参数:sigma
Dark random excitation.
黑暗的随机激励。
参数:Step
if Step = TRUE ploting step by step.
如果Step = TRUE图一步一步的。
参数:Output
If Output = yes write a output to an Excel (.csv).
如果Output = yes写一个输出到Excel(CSV)。
Details
详细信息----------Details----------
On this simulation the movement of the stochastic pendulum as well as the temporal graph and the portrait of phase. Cursors make it possible to modify the parameters of the oscillator (lambda: damping and omega: own pulsation), as well as the initial conditions.
在此模拟随机摆的运动,以及相位的时间曲线图和人像。光标使人们有可能修改振荡器(lambda:阻尼和omega:自己的脉动),以及作为初始条件的参数。
Stochastic perturbations of the pendulum equation, and random excitations force of such systems by White noise e(t), with delta-type correlation functions
摆方程的随机扰动,这样的系统和随机激励力的白噪声e(t),三角型的相关性功能
where lambda,sigma >= 0 and omega > 0.
lambda,sigma >= 0和omega > 0。
To observe the evolution of the portrait of phase when the initial conditions are modified:
观察进化阶段的画像时的初始条件被修改:
When the amplitude is large, one notices the difference in behavior with the harmonic oscillator: lengthening of the period, deformation of the graphs.
当振幅大,注意到与谐波振荡器:延长的时期,图表变形行为的差异。
When the pendulum does one (or several) turn, the portrait of phase opens: is it closed again?
当摆有一个(或几个)反过来,纵向打开的阶段:它再次关闭?
值----------Value----------
data.frame(time,X(t)), plot of process X(t) in the phase portrait (2D) and temporal evolution of stochastic pendulum.
数据框(时间,X(T)),相图(2D)及演化的随机摆在图的过程X(t)。
注意----------Note----------
If sigma = 0 is a determinist system.
如果sigma = 0是一个宿命论者系统的。
Time step of the simulation T/N.
时间步长模拟T/N。
(作者)----------Author(s)----------
Guidoum Arsalane.
参考文献----------References----------
参见----------See Also----------
Sharosc stochastic harmonic oscillator, Svandp stochastic Van der Pol oscillator, Srayle stochastic Rayleigh oscillator, SSCPP stochastic system with a cylindric phase plane, Sosadd stochastic oscillator with additive noise.
Sharosc随机谐波振荡器,Svandp随机van der Pol振荡器,Srayle的随机瑞利振荡器,SSCPP一个圆柱形相平面的随机系统,Sosadd随机振荡器加性噪声。
实例----------Examples----------
## theta0= 3, theta1 = 0, lambda=0.1, omega=2, sigma=0.1[#theta0 THETA1 = 0,λ= 0.1,ω= 2,σ= 3,= 0.1]
Spendu(N=5000, T=50, theta0=3, theta1=0, lambda=0.1, omega=2, sigma=0.1)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|