How to combine cell row into any varible??

2 Ansichten (letzte 30 Tage)
Triveni
Triveni am 29 Jun. 2016
Beantwortet: José-Luis am 29 Jun. 2016
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.

Akzeptierte Antwort

José-Luis
José-Luis am 29 Jun. 2016
your_result = [value{:,:,1:11}];

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by