Fs = bandWidth in accepted answer's code yields the "correct" frequency response of an LFM chirp: constant magnitude, parabolic phase. Setting it to anything else, including
>> bandWidth, yields distortions, and magnitude converges to a square in the limit
Fs / bandWidth -> inf.
Why's this the case? Shouldn't greater
Fs be better - less aliasing, greater resolution, etc?