Printing particular rows and columns

76 visualizzazioni (ultimi 30 giorni)
Hari
Hari il 26 Apr 2016
Commentato: Hari il 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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by