混沌数学之CircuitChaotic(二维离散电路混沌系统)

 

相关软件参见:混沌数学之离散点集图形DEMO

相关代码:

// http://wenku.baidu.com/link?url=yg_gE7LUXCg2mXRp-ZZdfRXXIkcNj8YOhvN7dKLJxzWIu6M0g33-W3y3culjalCYfNc5VQefVJEiEwi_woXP69H8W4x-bF22nIRnD2lsn53
// 二维离散电路混沌系统
class CircuitChaotic : public DiscreteEquation
{
public:
    CircuitChaotic()
    {
        m_StartX = 1.1832f;
        m_StartY = 0.5916f;

        m_ParamA = 1.45f;
        m_ParamB = 0.689f;
        m_ParamC = 0.1f;
        m_ParamD = 0.2f;
    }

    void IterateValue(float x, float y, float& outX, float& outY) const
    {
        outX = m_ParamA*y - m_ParamD*y*y;
        outY = -m_ParamB*x + m_ParamC*y;
    }

    bool IsValidParamA() const {return true;}
    bool IsValidParamB() const {return true;}
    bool IsValidParamC() const {return true;}
    bool IsValidParamD() const {return true;}
};

相关截图:

 

posted on 2014-09-15 14:04  叶飞影  阅读(1164)  评论(0编辑  收藏  举报