MATLAB Answers

0

How to access data from structure

Asked by Mekala balaji on 17 Mar 2019 at 14:28
Latest activity Answered by Pruthvi Raj Gampalwar on 18 Mar 2019 at 9:00
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Pruthvi Raj Gampalwar on 18 Mar 2019 at 9:00

Please try this Command to get the 4th column
A.B.C(:,4) % To get 4th column

  0 Comments

Sign in to comment.