Chirp simulator in MATLAB