作业帮 > 英语 > 作业

hello i asked you the problem of matlab last night.

来源:学生作业帮 编辑:作业帮 分类:英语作业 时间:2024/05/29 13:12: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 the frequency of the voice we heard?
can you understand my problem?
thank you so much!
你前面生成信号的时候,对于一个模拟频率2k的信号,用10k的采样率采样,后面播放的时候又按照20k的采样率播放,因此还原出的模拟信号频率是原来两倍,即4kHz..
原理很简单:模拟频率=数字频率*采样率.由于数字信号的频率不变(数字信号根本就没有被改变过),采样率变为两倍,模拟频率就变为两倍.