Concate cell array and calculate mean of each column.

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) ?

 Risposta accettata

B = cat(1,A{:})

2 Commenti

Thank you Mr.Bobrov. How can avoid non-cell array in A ?
"non-cell array in A"
What? Please example.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Risk Management Toolbox in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by