True positives, false positives, true negatives, false negatives from 2 matrices in matlab

The following Matlab project contains the source code and Matlab examples used for true positives, false positives, true negatives, false negatives from 2 matrices. - This simple function takes in 2 matrices of equal size populated with 1's and 0's and returns the number of True Positives, False Positives, True Negatives, False Negatives in order for precision and recall calculation - 1st matrix is the true matrix - 2nd matrix is the one populated from an algorithm used - Returns error metrics based on a binary classification.

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
calError.m 555
calError.m~ 547
predictedMat.mat 196
README.txt 965
trueMat.mat 190
license.txt 1320

SocialTags: