How to combine cell row into any varible??

1 次查看(过去 30 天)
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.

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Get Started with MATLAB 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by