How to access data from structure

1 Ansicht (letzte 30 Tage)
Mekala balaji
Mekala balaji am 17 Mär. 2019
Beantwortet: Pruthvi G am 18 Mär. 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.

Akzeptierte Antwort

Pruthvi G
Pruthvi G am 18 Mär. 2019
Please try this Command to get the 4th column
A.B.C(:,4) % To get 4th column

Weitere Antworten (0)

Kategorien

Mehr zu Get Started with Statistics and Machine Learning Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by