how to get values from matrix in matlab code example Example: matlab get array value MyArray(index1, index2, index3)