How to extract data from a particular column of matrix?

2 visualizaciones (últimos 30 días)
Amit Bhetiwal
Amit Bhetiwal el 27 de Dic. de 2021
Comentada: Amit Bhetiwal el 27 de Dic. de 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?

Respuestas (1)

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

Categorías

Más información sobre Logical en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by