MM_Stats

Experimentally realistic mass, color distribution, uncertainty and balance behavior for M&M candies based on experimental data.

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Investigate the statistics of random normal sampling using M&M candies. Includes 4 different balances ranging in readability from 0.01mg - 10mg and cost range $7000-$200. Repeatability appropriate for each balance along with idle random noise on a live display is simulated. 2 Calibration weight sets are simulated having ASTM 4 and ASTM 7 tolerances. Candy mass and color distribution is accurate and outliers are included. Data for each balance is displayed in a lab notebook table with area for user entered observations and is saved to an Excel file.

Cite As

Lisa R. Thompson (2026). MM_Stats (https://www.mathworks.com/matlabcentral/fileexchange/79586-mm_stats), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Communities
More Files in the  Distance Learning Community
Version Published Release Notes Action
2.0

Version has window resizing and scroll bars enabled

1.2

Corrected units conversion error in tolerance of mg Calibration Weights

1.01

Corrected small bug in persistent color name label

1.0