main.m133 chars8 lines
The output for K(11)
will be an error since the matrix K is 4x4 and the index 11 is out of bounds.
The output for K(1, 10)
will be '9' because indexing in MATLAB starts from 1 and goes column-wise, meaning it will select the element in row 1, column 2 of the matrix K which is '9'.
gistlibby LogSnag