The following Matlab project contains the source code and Matlab examples used for exp.sweep and impulse response.
generate sine sweep with exponential frequency dependent energy decay
over time and time/frequency inverse for impulse response calculation
T = sweep duration in seconds
f1 = start frequency in Hz
f2 = end frequency in Hz
silence = silence before and after sweep in seconds (default: 0)
fs = sampling frequency (default: 44100)