본문으로 이동

파일:Frequency spectrum of a sinusoid and its quantization noise floor.gif

문서 내용이 다른 언어로는 지원되지 않습니다.
위키백과, 우리 모두의 백과사전.
원본 파일 (864 × 438 픽셀, 파일 크기: 11 KB, MIME 종류: image/gif, 0.1 s)

파일 설명

설명
English: This is a comparison of quantizing a sinusoid to 64 levels (6 bits) and 256 levels (8 bits). The additive noise created by 6-bit quantization is 12 dB greater than the noise created by 8-bit quantization. When the spectral distribution is flat, as in this example, the 12 dB difference manifests as a measurable difference in the noise floors.
날짜
출처 자작
저자 Bob K
저작권
(이 파일을 인용하기)
나는 아래 작품의 저작권자로서, 이 저작물을 다음과 같은 라이선스로 배포합니다:
Creative Commons CC-Zero 이 파일은 크리에이티브 커먼즈 CC0 1.0 보편적 퍼블릭 도메인 귀속에 따라 이용할 수 있습니다.
저작물에 본 권리증서를 첨부한 자는 법률에서 허용하는 범위 내에서 저작인접권 및 관련된 모든 권리들을 포함하여 저작권법에 따라 전 세계적으로 해당 저작물에 대해 자신이 갖는 일체의 권리를 포기함으로써 저작물을 퍼블릭 도메인으로 양도하였습니다. 저작권자의 허락을 구하지 않아도 이 저작물을 상업적인 목적을 포함하여 모든 목적으로 복제, 수정·변경, 배포, 공연·실연할 수 있습니다.

GIF 발전
InfoField
N
 
이 GIF 컴퓨터 그래픽스Octave(으)로 제작되었습니다.
Octave/gnuplot source
InfoField
click to expand

This graphic was created by the following Octave script:

graphics_toolkit gnuplot

  N = 256;                % sams_per_fft;
  window = blackmanharris(N)/sum(blackmanharris(N));
  A = -N/2;               % left  limit of plots
  B=  N/2-1;              % right limit of plots
%
  Fs = N;                 % sams_per_sec;
  HzPerBin = Fs/N;
  freq_bin = 9+1/sqrt(2); % any signal frequency not harmonically related to Fs
  freq_Hz = freq_bin*HzPerBin;
%
  L = 120000;                   % amount of data to average
  n = 1:L;
  x = exp(j*2*pi*freq_Hz/Fs*n); % non-quantized signal
  sig8 = round(2^8 * x)/2^8;
  sig6 = round(2^6 * x)/2^6;
%
  sams_per_offset = 0.75*N;     % overlap = 25%
%
% number of samples available beyond just one FFT
  excess_sams = length(x) - N;
%
  j1 = floor( excess_sams / sams_per_offset );
  sams_per_offset = floor( excess_sams / j1 );
  num_ffts = 1 + j1;
%
% define the first block of data
  samples = 1:N;
%
  amplitude8 = zeros(1,N);
  amplitude6 = zeros(1,N);
%
% Loop over all the available blocks
  for j1 = 1 : num_ffts
    amplitude8 = amplitude8 + abs(fft( sig8(samples) .* window ));
    amplitude6 = amplitude6 + abs(fft( sig6(samples) .* window ));
    samples = samples + sams_per_offset;
  end
%
  amplitude8  = 20*log10(fftshift(amplitude8/num_ffts));
  amplitude6  = 20*log10(fftshift(amplitude6/num_ffts));
%
  abscissa = A:B;
  figure (1, 'color', .95*[1 1 1])
  subplot(2,1,1);
  h = area(abscissa, amplitude6(abscissa +N/2+1), ...
  'FaceColor', [.871 .49 0], 'edgecolor', [.871 .49 0]);
  set(h,'BaseValue',-90)
  set(gca, 'YTick', [0 -40 -68 -90])
  set(gca, 'XTick', [])
  set(gca, 'YGrid','on', 'color', 'white')
  xlim([A B])
  ylim([-90 2])
  text(A, 10, '6 bits')
  xlabel('\leftarrow  frequency  \rightarrow', 'fontsize', 10)
  ylabel('decibels', 'fontsize', 10)
  title('Spectral view of a sinusoid and its quantization noise-floor','fontsize', 12);
% Move subplot downward to prevent title being cropped by gnuplot bug.
  set(gca, "position", get(gca, "position") - [0 0 0 0.02])  
%
  subplot(2,1,2);
  h = area(abscissa, amplitude8(abscissa +N/2+1), ...
  'FaceColor', [.871 .49 0], 'edgecolor', [.871 .49 0]);
  set(h,'BaseValue',-90)
  set(gca, 'YTick', [0 -40 -80])
  set(gca, 'XTick', [])
  set(gca, 'YGrid','on', 'color', 'white')
  xlim([A B])
  ylim([-90 2])
  text(A, 10, '8 bits')
  xlabel('\leftarrow  frequency  \rightarrow')
  ylabel('decibels', 'fontsize', 10)

설명

이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다

이 파일에 묘사된 항목

다음을 묘사함

파일 역사

날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

날짜/시간섬네일크기사용자설명
현재2014년 4월 4일 (금) 23:292014년 4월 4일 (금) 23:29 판의 섬네일864 × 438 (11 KB)Bob KUser created page with UploadWizard

다음 문서 1개가 이 파일을 사용하고 있습니다:

이 파일을 사용하고 있는 모든 위키의 문서 목록

다음 위키에서 이 파일을 사용하고 있습니다:

메타데이터