我正在使用matlab生成35000 Hz和45000 Hz之间的啁啾信号频率。我想用眼镜功能来监控频率超时的变化,但我不知道如何使用这个功能。有什么帮助吗?
freqSamp = 96000;
tStart = 0;
tEnd = 1;
t = tStart:1/freqSamp:tEnd;
freqStart = 35000;
freqEnd = 45000;
phaseInit = -90;
method = 'linear';
y = chirp(t, freqStart, tEnd, freqEnd, method, phaseInit);
spectrogram(x, , , ,96000,'yaxis')