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]

 采纳的回答

a{1} % Access to first cell
a{1}(1,:) % Access to first cells first row

3 个评论

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

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Data Types 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by