How to access data from structure

1 visualización (últimos 30 días)
Mekala balaji
Mekala balaji el 17 de Mzo. de 2019
Respondida: Pruthvi G el 18 de Mzo. de 2019
Hi,
I have data in structure:
A.B.C
C is also structre with size 23x5
I want to access 4th column of each row (its a double values). How to do this with out for loop.

Respuesta aceptada

Pruthvi G
Pruthvi G el 18 de Mzo. de 2019
Please try this Command to get the 4th column
A.B.C(:,4) % To get 4th column

Más respuestas (0)

Categorías

Más información sobre Get Started with Statistics and Machine Learning Toolbox 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