I am using the correlation function in matlab. My code is about finding the peak to side lobe ratio.
But the problem is corr function works slow for images.Is there any other alternative for this function and any better method to calculate peak to sidelobe ratio.
I am finding some problems here in uploading the code but can mail anyone for the reference.
I am using the correlation function in matlab. My code is about finding the
Share
The matlab correlation function works efficiently for what it is intended for. If it is choking point, you could try the following, courtesy of the Matlab Forms.
Alternatively, you could use the diff function to find the point where the slope changes, helping to identify the peak, and then use step 2.