hello i asked you the problem of matlab last night.i want to know more about it.but i can type chinese now.for the frequency of the voice my hear from matlab,it is neither 2000 nor Fs,right?x=0:0.0001:0.1;y = sin(2*pi*2000*t);sound(y,20000);what is t
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/28 10:30:34
hello i asked you the problem of matlab last night.i want to know more about it.but i can type chinese now.for the frequency of the voice my hear from matlab,it is neither 2000 nor Fs,right?x=0:0.0001:0.1;y = sin(2*pi*2000*t);sound(y,20000);what is t
hello i asked you the problem of matlab last night.
i want to know more about it.but i can type chinese now.
for the frequency of the voice my hear from matlab,it is neither 2000 nor Fs,right?
x=0:0.0001:0.1;
y = sin(2*pi*2000*t);
sound(y,20000);
what is the frequency of the voice we heard?
can you understand my problem?
thank you so much!
hello i asked you the problem of matlab last night.i want to know more about it.but i can type chinese now.for the frequency of the voice my hear from matlab,it is neither 2000 nor Fs,right?x=0:0.0001:0.1;y = sin(2*pi*2000*t);sound(y,20000);what is t
你前面生成信号的时候,对于一个模拟频率2k的信号,用10k的采样率采样,后面播放的时候又按照20k的采样率播放,因此还原出的模拟信号频率是原来两倍,即4kHz..
原理很简单:模拟频率=数字频率*采样率.由于数字信号的频率不变(数字信号根本就没有被改变过),采样率变为两倍,模拟频率就变为两倍.
你的采样间隔也就是Ts是0.0001s,也就是说采样率Fs=1/Ts=10000,所以当你用sound(y,10000)时,你听到的是2000Hz,但是你用sound(y,20000),相当于你把频率增加了一倍,也就是4000Hz