Specific column range from an array?
조회 수: 84 (최근 30일)
이전 댓글 표시
This is probably very dumb question but I cant seem to find an answer for it. I have an array with two columns, how to I extract let`s say the second column, from the 5th row until the 10th?
댓글 수: 0
채택된 답변
Alexandra Harkai
2017년 4월 5일
y = x(5:10, 2) % rows 5:10, column 2
댓글 수: 1
Nom
2019년 10월 7일
Thank you so much for actually linking it in the documentation, found exactly what I needed!
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!