试用MATLAB产生一段6秒长的声音信号:y=exp(t-6).*sin(2*pi*F*t)
采样率为8000次/秒.F依次取频率494 440 392 440,494,494,且每种不同频率的信号持续1秒,听该声音信号,有何特点,可否区分各个音调?
.可能用到的函数:sym,subs,linspace,sound
人气:350 ℃ 时间:2020-02-02 18:40:04
解答
F=[494 440 392 440 494 494];
t=linspace(0,6,8000*6+1);t(end)=[];
y=exp(t-6).*sin(2*pi*F(floor(t)+1).*t);
sound(y,8000)%音量越来越大,可以区分各音调
推荐
- 急求matlab问题,>> t=0:0.2:3*pi;x=exp(-t).*sin(t);plot(t,x) 前面的 t=0:0.2:
- matlab 如何做分段函数的绘图 y=sin(x)*(-2*pi=0)
- 设函数f(x)在大于等于0上可导,f(0)=0,f(x)导数单调递减,则对任意的0《a《b,有f(a+b)《f(a)+f(b)
- 一根木材,锯成6段用了9分,另有同样一根木材用同样的速度锯,锯成12段需要多少分?
- 东北年降水量最多的地区在
- Fill in the blanks with the proper words and expressions given below,change the form while necessar
- The library is (in front of the dining hall)对括号部分提问
- 若函数f(x)的导函数为f'(x)=-x(x+1),则函数g(x)=f(logax))(0
猜你喜欢