%
% pendulum_jac.m
%
% This MATLAB function computes the Jacobian of the vector field
% defined in pendulum_vf.m.
%
% This file was generated by the program VFGEN (Version:2.1.0)
% Generated on  3-Jun-2007 at 12:24
%
%
function jac_ = pendulum_jac(t,x_,p_)
    Pi = pi;
    theta      = x_(1);
    v          = x_(2);
    g          = p_(1);
    b          = p_(2);
    L          = p_(3);
    m          = p_(4);
    jac_ = zeros(2,2);
    jac_(1,2) = 1;
    jac_(2,1) = -L^(-1)*cos(theta)*g;
    jac_(2,2) = -L^(-2)*b*m^(-1);

