exp.sweep and impulse response
无许可证
[sweep,invsweep]=expsweep(T,f1,f2,silence,fs)
generate sine sweep with exponential frequency dependent energy decay
over time and time/frequency inverse for impulse response calculation
inputs:
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)
[h,h_dist]=sweepIR(rec,Nimp,T,f1,f2,offset,fs)
calculate impulse response and distortion from exponential sweep recording
inputs:
rec = mono sweep recording
T = sweep duration in seconds
f1 = start frequency in Hz
f2 = end frequency in Hz
offset = offset length before impulse response in samples
outputs:
h = impulse response
h_dist = impulse responses of the first 6 nonlinear distortion harmonics
引用格式
Matthes (2024). exp.sweep and impulse response (https://www.mathworks.com/matlabcentral/fileexchange/19566-exp-sweep-and-impulse-response), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- Signal Processing > Audio Toolbox > Audio I/O and Waveform Generation >
- Signal Processing > Signal Processing Toolbox > Spectral Analysis > Spectral Measurements >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |