your_result = [value{:,:,1:11}];
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.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!