Read digits and labels from MNIST database

Read digits from MNIST database available on http://yann.lecun.com/exdb/mnist/

You are now following this Submission

Read digits and labels from raw MNIST data files
File format as specified on http://yann.lecun.com/exdb/mnist/
Note: The 4 pixel padding around the digits will be remove
Pixel values will be normalised to the [0...1] range

Cite As

Sid H (2026). Read digits and labels from MNIST database (https://se.mathworks.com/matlabcentral/fileexchange/27675-read-digits-and-labels-from-mnist-database), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0