READ THE ERROR MESSAGE. Then look at your code. teta is a variable, correct? What is this?
teta(1,0)
How about this?
teta(0,1)
So if teta is a variable, then teta(1,0) is an index operation into that variable. Now, go back and read the error message again.
MATLAB does not support a zero based index origin. The FIRST element in an array is at index 1.
