Ambiguity function for set of square impulses works