Using MapReduce to make the same calculation but on every column?

I've been reading the documentation about MapReduce here: https://uk.mathworks.com/help/matlab/import_export/getting-started-with-mapreduce.html
The documentation shows how to create a map function which works out the average of a particular column in a table ('distance').
How would I go about calculating the average of every column in a particular table rather than just one?

回答 (1 件)

Vaishnav Katiyar
Vaishnav Katiyar 2021 年 1 月 27 日

0 投票

Kindly visit the documentation link below to know more about doing computations on subgroups of data:

カテゴリ

ヘルプ センター および File ExchangeLarge Files and Big Data についてさらに検索

製品

タグ

質問済み:

2021 年 1 月 24 日

回答済み:

2021 年 1 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by