Printing particular rows and columns

136 Ansichten (letzte 30 Tage)
Hari
Hari am 26 Apr. 2016
Kommentiert: Hari am 26 Apr. 2016
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
start = data(2:end,18);

Weitere Antworten (0)

Kategorien

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

Community Treasure Hunt

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

Start Hunting!

Translated by