How to access data from structure

조회 수: 1 (최근 30일)
Mekala balaji
Mekala balaji . 2019년 3월 17일
답변: Pruthvi G . 2019년 3월 18일
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개)

Community Treasure Hunt

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

Start Hunting!

Translated by