% linsys.m - Generic linear systems
% RMM, 11 Oct 03
%
% This function gives the dynamics for linear system with dynamics
% matrix A (specified as a paramter).

function dx=linsys2(t, x, flags, a11, a12, a21, a22)
dx = [a11, a12; a21, a22] * [x(1); x(2)];
