% coupled.m - Spring mass system dynamics
% RMM, 14 Sep 05
%
% This file contains a description of the dynamics of a spring mass
% system.

function sys = springmass()

% Parameters defining the system
clear variables;
m = 250;				% system mass
k = 40;					% spring constant
b = 60;					% damping constant

% System matrices
A = [0, 1; -k/m, -b/m];
B = [0; 1/m];
C = [1, 0];

sys = ss(A, B, C, 0);
