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 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!