RadarBook / software

Companion software for Introduction to Radar Using Python and MATLAB
118 stars 69 forks source link

LFM Pulse Ambiguity #5

Closed smithry67 closed 2 years ago

smithry67 commented 2 years ago

Hey,

I believe there is an issue with the LFM pulse ambiguity function. I have edited the bandwidth term in lfm_pulse_ambiguity_example.m to be related to a desired resolution and converted the zero doppler cut figure's time axis to meters and I do not get the resolution. I have attached the edited example file along with a potential fix for the ambiguity function. mFiles.zip

-Ryan

RadarBook commented 2 years ago

Good catch Ryan! Thank you for pointing this out. The error was in line 16 of lfm_pulse.m and also occurred in ambiguity_function.py line 65. The multiplication by pi was the error. It should simply be removed. I corrected this in both places and committed the updated functions. Thank you again, it makes the code base better.