标签: matlab
我使用下面给出的代码来产生声音的脉冲响应,如何从脉冲响应产生频率响应?
clc;clear;close all; u = audiorecorder; disp('Start speaking.') recordblocking(u, 25); disp('end recording.'); play(u) x=getaudiodata(u); plot(x)