Matlab animated line. I have tried the following code