create a loop of the 2nd row of a 4D cel

so currently I have MD_SD(:,:,1,1) =
[ 1.0868]
[ 0.0796]
[1x56 double]
MD_SD(:,:,2,1) =
[ 1.0861]
[ 0.0882]
[1x50 double]
MD_SD(:,:,3,1) =
[ 1.1721]
[ 0.1314]
[1x56 double]
is it possible to create a for loop such that I can get an array that displays the 2nd row of each of the cells i.e. [0.0796,0.0882,0.1314] thanks in advance

 採用された回答

Sara
Sara 2014 年 6 月 26 日

0 投票

MD_SD(2,:,:) would do without a loop

1 件のコメント

Vaultec
Vaultec 2014 年 6 月 26 日
Ok thank you very much

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeLoops and Conditional Statements についてさらに検索

タグ

質問済み:

2014 年 6 月 26 日

コメント済み:

2014 年 6 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by