Concate cell array and calculate mean of each column.

1 view (last 30 days)
I have cell array name A=148X1 that contain 1X28 table each element.
1. How can I concate each element together to gat a result B=148X28 table ?
2. How to calculate mean value for each column from B(:,3:36) ?

Accepted Answer

Andrei Bobrov
Andrei Bobrov on 19 Dec 2017
B = cat(1,A{:})

More Answers (0)

Categories

Find more on Matrices and Arrays in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!