Characterizing large variables using the mmm function

バージョン 1.0.0 (1.44 KB) 作成者: Mark Brandon
The mmm function provides a fast and comprehensive way to inspect Matlab variables, large and small.
ダウンロード: 7
更新 2020/8/2

ライセンスの表示

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.

引用

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. 取得済み .

MATLAB リリースの互換性
作成: R2020a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!

バージョン 公開済み リリース ノート
1.0.0