How to extract data from a particular column of matrix?

2 Ansichten (letzte 30 Tage)
Amit Bhetiwal
Amit Bhetiwal am 27 Dez. 2021
Kommentiert: Amit Bhetiwal am 27 Dez. 2021
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?

Antworten (1)

DGM
DGM am 27 Dez. 2021
Something like this should work:
Y = A(20:3500,6);

Community Treasure Hunt

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

Start Hunting!

Translated by