Description: Generating a normal sequence after pcm encoding, PCM decoding, computing quantization noise ratio, set the channel error rate
x = randn (1,1000) generating a normal sequence
xf = fft (x, 256) 1024 data points, that is a signal sampling data to process 1024 points
d = x
subplot (2,1,1) normal draw sequence time domain and frequency domain plots
plot (x)
title ( length of 1000 standard normally distributed random time-domain waveform signal )
subplot (2,1,2)
plot (abs (xf))
xlabel ( Frequency/Hz )
ylabel ( amplitude )
......
To Search:
File list (Check if you may need any files):
PCM的编码及解码_matlab源程序.txt