Characterizing large variables using the mmm function

Version 1.0.0 (1,44 KB) von Mark Brandon
The mmm function provides a fast and comprehensive way to inspect Matlab variables, large and small.
7 Downloads
Aktualisiert 2. Aug 2020

Lizenz anzeigen

The mmm function stands for mean-min-max. When developing new code, I find that I often use Matlab's mean, min, and max functions to determine the general characteristics of large arrays. In addition, I often need to check on the actual size of the array, and the presence of nan, inf, and imaginary values. So, over the years, I developed a short code, mmm, to allow me to quickly inspect variables, large and small.

The code is simple by designed, but it has saved me a bunch of time. You know the situation. You think you know for sure what is in that large array that you created, but the code is not working. Then you take a look and realize that all of the values are nan or inf. Or the array is complex when it should be real. Best to check. And better yet, the name, mmm, is easy to remember.

Zitieren als

Mark Brandon (2024). Characterizing large variables using the mmm function (https://www.mathworks.com/matlabcentral/fileexchange/78796-characterizing-large-variables-using-the-mmm-function), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

Version Veröffentlicht Versionshinweise
1.0.0