Following is the error in my program while calculating ROC
이전 댓글 표시
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
KSSV
2018년 10월 15일
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
2018년 10월 15일
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
2018년 10월 15일
편집: Walter Roberson
2018년 10월 27일
Balaji M. Sontakke
2018년 10월 16일
Balaji M. Sontakke
2018년 10월 17일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Detection에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!