How do you average vectors in a cell array?
1 回表示 (過去 30 日間)
古いコメントを表示
採用された回答
Voss
2022 年 5 月 3 日
If they're really all row vectors of the same length like that, then:
mean(vertcat(C{:}))
where C is the cell array.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Multidimensional Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!