Printing particular rows and columns

288 views (last 30 days)
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?

Accepted Answer

Alessandro Masullo
Alessandro Masullo on 26 Apr 2016
start = data(2:end,18);

More Answers (0)


Find more on Loops and Conditional Statements in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by