Printing particular rows and columns

136 次查看(过去 30 天)
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?

采纳的回答

Alessandro Masullo
Alessandro Masullo 2016-4-26
start = data(2:end,18);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by