How to combine cell row into any varible??

2 visualizzazioni (ultimi 30 giorni)
value(:,:,1) =
[1x2 double]
value(:,:,2) =
[1x4 double]
value(:,:,3) =
[1x16 double]
value(:,:,4) =
[1x2 double]
value(:,:,5) =
[1x2 double]
value(:,:,6) =
[1x2 double]
value(:,:,7) =
[1x2 double]
value(:,:,8) =
[1x6 double]
value(:,:,9) =
[1x4 double]
value(:,:,10) =
[1x0 double]
value(:,:,11) =
[18]
>> value{:}
ans =
90 90
ans =
45 -45 45 -45
ans =
Columns 1 through 9
90 90 90 90 90 90 90 90 90
Columns 10 through 16
90 90 90 90 90 90 90
ans =
45 -45
ans =
90 90
ans =
45 -45
ans =
90 90
ans =
45 -45 45 -45 45 -45
ans =
90 90 90 90
ans =
Empty matrix: 1-by-0
ans =
18
I want to combine rows from each cell(:,:,(1:11)) into one variable.

Risposta accettata

José-Luis
José-Luis il 29 Giu 2016
your_result = [value{:,:,1:11}];

Più risposte (0)

Categorie

Scopri di più su MATLAB Coder in Help Center e File Exchange

Tag

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by