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'))
Cite As
Mikhail (2024). Fast CRC-32 calculation (https://www.mathworks.com/matlabcentral/fileexchange/69757-fast-crc-32-calculation), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2018b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Wireless Communications > Communications Toolbox > PHY Components > Error Detection and Correction >
Find more on Error Detection and Correction in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.