Text-only Table of Contents (frame/ no frame)
(12) Matrix Indexing Previous Top Next

Indexing into a Matrix (Array) in MATLAB


Two different ways of indexing:
Example of a matrix

Try:
>> first_mat
>> A(2,4)
ans =
          4
>>A(17)
ans  =
           4




Previous Top Next


Matrix_Indexing.src  last modified Sep 29, 2009 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College