Count "on", "off", or calculate simple "parity" bits of input in matlab

The following Matlab project contains the source code and Matlab examples used for count "on", "off", or calculate simple "parity" bits of input. Important: You don't have to know anything about mex or c to use this file! Simply follow the instructions below to build the mex files.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
offbits.c 11664
offbits.m 2745
onbits.c 11603
onbits.m 2725
paritybits.c 11837
paritybits.m 2787