%
% sys_rhs.m
%
% DDEBIFTOOL MATLAB vector field function for: mg
%
% This file was generated by the program VFGEN (Version:2.1.0)
% Generated on  3-Jun-2007 at 12:24
%
%
% The lags are: {tau}
%
% If X(t) is the state vector at time t, then
%    Zlags_ = [ X(t) X(t-tau) ]
%
function vf_ = sys_rhs(Zlags_,par_)
    % State variables
    x          = Zlags_(1,1);
    % Parameters
    a          = par_(1);
    b          = par_(2);
    tau        = par_(3);

    delayedx = Zlags_(1,2);
    vf_ = zeros(1,1);
    vf_(1) = -b*x+delayedx*a*(1+delayedx^10)^(-1);

    return
