Linear indexing:
This is termed as linear indexing. It is generally much better style when working with the matrices to refer to the row and column indices, although.
An individual element in the matrix can be modified by assigning a value.
>> mat = [2:4; 3:5];
>> mat(1,2) = 11
mat =
2 11 4
3 4 5