Image processing
显示 更早的评论
Hello everyone...... I have a problem to find intersection point of two curves...If I have FAR(False Acceptance Rate) for 20 threshold values and FRR(False Rejection Rate) for those threshold values also....Now my question is how to find out the intersection point of these two curves that denotes EER(Equal Error Rate)...Please reply soon......Advance Thanks........
回答(2 个)
Image Analyst
2012-5-21
How about something like
tolerance = .01; % or whatever...
crossingIndex = find(abs(FAR - FRR) < tolerance, 1, 'first');
Is that good enough?
2 个评论
harjan
2012-5-22
Image Analyst
2012-5-22
Yes, that's what I thought. Did you not like my code? If you want more accuracy, though I don't know why you'd need it with only 20 observations, then you can do a regression with polyfit though you may be getting a fake increase in accuracy since the fitted value is not necessarily more accurate. I mean, how accurate can you get to the "true" but unknown value when you have only 20 observations?
Stephen
2012-5-21
0 个投票
yeah, use Euler's method and just subtract one from another and search the zeros or, as the guy above said, add a tolerance level. min(abs(FAR - FRR)) would work if you didn't care how far off from 0 their difference is.
类别
在 帮助中心 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!