I am trying to simulate and focus the point response for an FMCW stripmap SAR system. I have specified my target coordinates as
targets = [100,100,0;400,100,0]
and I understand from several resources that the transmitted signal model for the chirp is
$$s_{\text{TX}} = \exp\bigg[j 2\pi \bigg(f_c t + \frac{1}{2} k_r (t - nT)^2\bigg)\bigg]$$
where $n$ is the pulse number, which I have been able to generate.
My approach to simulate the returns is to create a matrix of zeros with dimensions $numRangeBins \times numPulses$ and iterate over the number of pulses then for each pulse and, within that, for each target, accumulate the echo signal into the aforementioned matrix.
How do I calculate the return echo signal $s_{\text{rx}, k}$ for each target? I am primarily stuck on how $r_0$ can be calculated from the target coordinates in this resource. Alternatively, I would appreciate a code snippet for such a simulation. I have tried various the MATLAB simulation code for FMCW SAR but it seems buggy.