Printing particular rows and columns

140 visualizaciones (últimos 30 días)
Hari
Hari el 26 de Abr. de 2016
Comentada: Hari el 26 de Abr. de 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?

Respuesta aceptada

Alessandro Masullo
Alessandro Masullo el 26 de Abr. de 2016
start = data(2:end,18);

Más respuestas (0)

Categorías

Más información sobre Matrices and Arrays en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by