Matrices, machines and behaviors