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

 Réponse acceptée

Sara
Sara le 26 Juin 2014

0 votes

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

Plus de réponses (0)

Catégories

En savoir plus sur Loops and Conditional Statements dans Centre d'aide et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by