Azzera filtri
Azzera filtri

Concate cell array and calculate mean of each column.

1 visualizzazione (ultimi 30 giorni)
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

Andrei Bobrov
Andrei Bobrov il 19 Dic 2017
B = cat(1,A{:})
  2 Commenti
Pradya Panyainkaew
Pradya Panyainkaew il 19 Dic 2017
Thank you Mr.Bobrov. How can avoid non-cell array in A ?
Andrei Bobrov
Andrei Bobrov il 19 Dic 2017
"non-cell array in A"
What? Please example.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by