How to access data from structure

3 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 R Language 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by