How to extract data from a particular column of matrix?

조회 수: 2 (최근 30일)
Amit Bhetiwal
Amit Bhetiwal 2021년 12월 27일
댓글: Amit Bhetiwal 2021년 12월 27일
Lets say X= A(:, 6) and from 6th column I want to extract data, Y=X(20:3500). How to get Y in single line code?

답변 (1개)

DGM
DGM 2021년 12월 27일
Something like this should work:
Y = A(20:3500,6);

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by