Subscripting in two dimensions
Individual elements of a 2-D array a are accessed by listing the row and column numbers in parentheses
a(1,3)
a(3,1)
a(2,2)
Entire rows and columns can be accessed using a colon as a �wildcard�
a(2, :)
a(:, 3)
Previous slide
Next slide
Back to first slide
View graphic version