Sorry for the newbie question, but shouldn't I be able to copy an example right from the help doc into MATLAB and have it work? It looks like there are extra/different characters in there that I have never seen, ie colons, but I don't understand 1)why they need to be there in the first place and 2)which colons/characters I should remove.
For example, from the plot::Scatterplot function:
xdata := [6, 9, 17, 0, 13, 9, 9, 12, 12, 12]: ydata := [7, 8, 20, 2, 11, 8, 9, 12, 13, 15]: b := plot::Scatterplot(xdata, ydata): plot(b)
throws an error and makes the numeric variables/functions into strings. Why?
Using MATLAB R2013a.