MATLAB: Extracting from a matrix

matrix

I have a 6 row 800 column matrix… How do I extract the data in row 2 only to the 600th column?

Best Answer

Where A is your matrix:
B = A(2,1:600)
Basic MATLAB concepts, like how to use indexing, are explained in the introductory tutorials: