% .. code2equations.m
% .. rate equations for code2

function dPdt = code2equations(t,P,kmRNA,dmRNA,kProt,dProt)

dPdt = [kmRNA - dmRNA*P(1);...
    kProt*P(1) - dProt*P(2)];
