selecting first row in cell array

조회 수: 16 (최근 30일)
Oday Shahadh
Oday Shahadh 2020년 6월 10일
댓글: Oday Shahadh 2020년 6월 10일
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]

채택된 답변

madhan ravi
madhan ravi 2020년 6월 10일
편집: madhan ravi 2020년 6월 10일
a{1} % Access to first cell
a{1}(1,:) % Access to first cells first row
  댓글 수: 3
madhan ravi
madhan ravi 2020년 6월 10일
See the second option in my answer
Oday Shahadh
Oday Shahadh 2020년 6월 10일
yesssss you are amazing madhani

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by