The above causes the error.
I admit that it has been a number of years since I used matlab and the version that I have is very old (R2008 on Win7) but this seems like it should be fairly simple to decode.
I had been looking at materials that described matlab dot indexing and I am not sure that I am looking in the right place.
So, how is it that matlab is not recognizing "1" or is considering it a function or variable. I intend it to just be a number.