So I have a digital linear chirp signal:
$$ x[n] = \sqrt{\frac{2}{N}} \cdot \cos\Big( 2 \pi \frac{f_{0}}{f_{s}}n + \pi \frac{B}{N} n^{2}\Big) $$
Where $f_{0}$ is the initial frequency, $f_{s}$ is the sampling frequency, $B$ is the bandwidth and $N$ is the number of samples.
I want to simulate a Doppler shift. I am not sure exactly how to do this.
I know I need to multiply by initial frequency $f_{0}$ by the Doppler shift $d$, and do the same with the bandwidth. This will give me:
$$ x_{d}[n] = \sqrt{\frac{2}{N}} \cdot \cos\Big( 2 \pi \frac{d \cdot f_{0}}{f_{s}}n + \pi \frac{d \cdot B}{N} n^{2}\Big) $$
I know Doppler compresses or expands my waveform in time, and I know how to simulate the Doppler shift in the case of a simple sinusoid. However, I am a bit confused here.
Do I need to change the number of samples $N$ as well? If so, by how much exactly?
Thanks