rp=[ (xc- xp)2+ (yc- yp)2 ]1/2
I have obtain my rp using the formula above for the cattle image. I want to implement the DFT from the rp above in MATLAB. the DFT equation is shown below.
X (k) = ∑ x(n) e^(-j2πKn/N)
starting from n= 0 to N-1
I need MATLAB that I can used to implement this.