搜索资源列表
mountain
- 三维空间中的分形插值算法 ① 在X-Y平面上绘制一个n×n的正方形网格,并对4个角点在Z方向上分别设置初始高度ha,hb,hc,hd,得到A,B,C,D这4点(如图10.3所示)。 ② 根据式hm=(ha+hb+hc+hd)/4+△,计算正方形网格中点的高度hm,其中△为一随机量,从而得到M点。 ③ 根据角点和中点以及虚拟点,计算边中点的高度,即 he=(ha+hb+hm+0)/4+△ hf=(hb+hc+hm+0)/4+△ hg=(hc+hd+hm+0)/4+△ h
genhurst
- 计算赫斯特指数Calculates the generalized Hurst exponent H(q) of a stochastic variable x(t) (a time series) the scaling of the renormalized q-moments of the distribution <|x(t+r)-x(t)|^q>/<x(t)^q> ~ r^[qH(q)] The value of H(q) give indi