selecting first row in cell array

hi all,
I have below, how can I select first row in a(1)
thanks
a =
[185x3 double]
[185x3 double]
[185x3 double]
[185x3 double]
[185x3 double]
[185x3 double]
[185x3 double]
[185x3 double]
[185x3 double]

 Accepted Answer

madhan ravi
madhan ravi on 10 Jun 2020
Edited: madhan ravi on 10 Jun 2020
a{1} % Access to first cell
a{1}(1,:) % Access to first cells first row

3 Comments

it returns all rows, what I need is the first row in [185x3 double] which is a(1)
See the second option in my answer
yesssss you are amazing madhani

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!