ROC - Receiver Operating Characteristic.
- Calculates ROC and AUROC values comparing two distributions with a simple and fast code.
- The vectors of each distribution could have different sizes
% Example:
a = [1 2 3 4 5]';
b = [30 1 10 6 1 5]';
[roc,auroc] = roc(a,b)
Cite As
Isaac Morán (2026). ROC_i (https://www.mathworks.com/matlabcentral/fileexchange/79652-roc_i), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
