Printing particular rows and columns

조회 수: 121 (최근 30일)
Hari
Hari 2016년 4월 26일
댓글: Hari 2016년 4월 26일
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