Access arrays

Accessing elements or data from arrays (matrices) is quite important when performing mathematical operations or gathering pertinent data.

For this example, assume that A = [1 2 3 4 5; 0 9 8 7 6; -1 2 -3 4 -5; 0 1 0 1 0].

1) Use Matlab to display the contents of the 3rd row and the 3rd thru 5th columns of A.

>>

Bookmark and Share