On the relationship between algebraic systems theory and coding theory: representations of codes