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!