# find max with sub accuracy

Hello

I want to find the position of the maximum value of a matrix. i can use the minMaxLoc function for that. But i wonder if there is way to find this position with sub accurracy by fitting a parabola(or something similar) to the values and get the max of this parabola?

i found this image which explains the situation

left image contains the discreet values and i want to find the position with the maximum value in the right image

cheers