Printing particular rows and columns

My part of a program looks like this
data = vertcat(data{:});
start = data(:,18);
This prints all the rows in the 18th column. How can I print all the data in 18th column from 2nd row?

 Akzeptierte Antwort

Alessandro Masullo
Alessandro Masullo am 26 Apr. 2016

0 Stimmen

start = data(2:end,18);

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 26 Apr. 2016

Kommentiert:

am 26 Apr. 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by