Decoding algorithm for convolutional codes under linear systems point of view