It is used in technical computing where the matrix laboratory is used by engineers and researchers to design systems and products where larger data sets and information from clouds and clusters can be used to design solutions to transform the world.
The technical language is matrix-based – which offers the most natural ways to express computational mathematics. The built-in graphics can visualize data (e.g. commodity trading data, asset class depreciation, common risk factors in the returns on stocks, etc.) and the desktop environment promotes exploration, experimentation, and discovery.
The matrix elements compute the mean of all values in the array to get the Average. It can be represented as M = mean (A, dim).