Following is the error in my program while calculating ROC
Show older comments
I have attached my program files
Index exceeds matrix dimensions.
Error in ROC (line 16)
selfVerification(i) = sum(dataVerify(initial:initial+9,i)); %9
Error in maintotaldemo (line 105)
[FAR,FRR] = ROC(AVM,minThreshold,maxThreshold);
5 Comments
KSSV
on 15 Oct 2018
Why don't you keep all files in a folder, zip them and attach? Users have to download individual file and check...extra work..:|
KSSV
on 15 Oct 2018
dataVerify is a logical matrix of dimension 40*5. YOu are changing the index initial by using:
initial = i*10+1;
And you are extracting values from it using:
sum(dataVerify(initial:initial+9,i));
After few iterations initial+9 is going beyond size i.e more then 40, so the error. If we know the logic behind or what you are trying to do..then we can help.
Balaji M. Sontakke
on 15 Oct 2018
Edited: Walter Roberson
on 27 Oct 2018
Balaji M. Sontakke
on 16 Oct 2018
Balaji M. Sontakke
on 17 Oct 2018
Answers (0)
Categories
Find more on Detection in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!