CRC = crc32(DATA) calculates CRC-32 checksum of input data.
The elements of DATA are treated as individual bytes (uint8's). Resulting CRC is unsigned 32-bit integer (uint32).
Example: crc32(fileread('crc32.m'))
Mikhail (2021). Fast CRC-32 calculation (https://www.mathworks.com/matlabcentral/fileexchange/69757-fast-crc-32-calculation), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
fast and works. awesome.