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 Center および File ExchangeLogical についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by