MATLAB Answers

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

20 views (last 30 days)
r299472 on 24 Jan 2021
Answered: Vaishnav Katiyar on 27 Jan 2021
I've been reading the documentation about MapReduce here:
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?


Sign in to comment.

Answers (1)

Vaishnav Katiyar
Vaishnav Katiyar on 27 Jan 2021
Kindly visit the documentation link below to know more about doing computations on subgroups of data:


Sign in to comment.



Community Treasure Hunt

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

Start Hunting!