파일:Multirate upsampling (interpolation) filter.svg
testwiki
둘러보기로 이동
검색으로 이동
원본 파일 (SVG 파일, 실제 크기 900 × 630 픽셀, 파일 크기: 43 KB)
이 파일은 위키미디어 공용에 있으며, 다른 프로젝트에서 사용하고 있을 가능성이 있습니다. 해당 파일에 대한 설명이 아래에 나와 있습니다.
파일 설명
| 설명Multirate upsampling (interpolation) filter.svg |
English: Depiction of one dot product, resulting in one output sample (in green), computed by a multirate filter. This illustrates the formula at Upsampling by an integer factor, for the case L=4, n=9, j=3. Three (L-1) conceptual "inserted zeros" are depicted between each pair of input samples. Omitting them from the calculation is what distinguishes a multirate filter from a monorate filter. |
| 날짜 | |
| 출처 | 자작 |
| 저자 | Bob K |
| SVG 발전 InfoField |
Source code

This media was created with GNU 옥타브 (numerical computation software)
Here is a listing of the source used to create this file.
Here is a listing of the source used to create this file.
Deutsch ∙ македонски ∙ English ∙ +/−
This graphic was created with the help of the following Octave script:
pkg load signal
graphics_toolkit gnuplot
M = 1000;
darkgreen = [33 150 33]/256;
interpolation_factor = 4;
% Generate M+1 samples of a Gaussian window (filter type not important)
filter = .3*exp(-.5*(((0:M)-M/2)/(.4*M/2)).^2);
% Sample the window.
N=24;
sam_per_hop = M/N;
window_dots = filter(1+(0:N)*sam_per_hop);
normalize = sum(window_dots)/interpolation_factor;
window_scale_factor = 0.5;
sam_per_hop = sam_per_hop*window_scale_factor;
%------------------------------------------------------------------
figure("position", [100 200 900 600])
% Plot the continuous filter function
xoffset = sam_per_hop*15;
yoffset = 0.1;
plot(xoffset+(0:M)*window_scale_factor, yoffset+filter, "linestyle",":", "linewidth",1, "color","black")
set(gca, "xaxislocation", "origin")
xlim([0 M])
ylim([-.06 .45]) % allows space for negative samples (in case I change the signal)
set(gca, "ygrid","off");
set(gca, "xgrid","on");
set(gca, "ytick",[0], "fontsize",14);
xticks = [0:4*sam_per_hop:M];
set(gca, "xtick",xticks)
set(gca,"xticklabel",[0:length(xticks)])
% Plot the filter coefficients
hold on
plot(xoffset+(0:N)*sam_per_hop, yoffset+window_dots, "color","red", ".", "markersize",10)
% Create signal to be interpolated
samples_per_cycle = 4*M;
signal = .2*sin(2*pi*(0:M)/samples_per_cycle);
signal_dots = signal(1:sam_per_hop:end);
% Simulate "inserted zeros", for display
signal_dots(2:4:end) = 0;
signal_dots(3:4:end) = 0;
signal_dots(4:4:end) = 0;
% Plot the data
L = length(signal_dots);
plot((0:L-1)*sam_per_hop, signal_dots, "color","blue", ".", "markersize",10)
% Compute dot product, and plot it
dot_product = sum(window_dots(24:-4:4).*signal_dots(17:4:37))/normalize;
x = 27*sam_per_hop;
plot(x, dot_product, "color",darkgreen, ".", "markersize",14)
plot([x,x],[0,.45]); % vertical line
% xlabel('\leftarrow n \rightarrow', "fontsize",16)
text(465, -.05, '\leftarrow n \rightarrow', "fontsize",16)
text(18, .1, "X[n]", "fontsize",16, "color","blue")
title("Multirate interpolation filter", "fontsize",16, "fontweight","normal");
라이선스
Bob K은(는) 아래 작품의 저작권자로서, 해당 저작물을 다음과 같은 라이선스로 배포합니다:
| 이 파일은 크리에이티브 커먼즈 CC0 1.0 보편적 퍼블릭 도메인 귀속에 따라 이용할 수 있습니다. | |
| 저작물에 본 권리증서를 첨부한 자는 법률에서 허용하는 범위 내에서 저작인접권 및 관련된 모든 권리들을 포함하여 저작권법에 따라 전 세계적으로 해당 저작물에 대해 자신이 갖는 일체의 권리를 포기함으로써 저작물을 퍼블릭 도메인으로 양도하였습니다. 저작권자의 허락을 구하지 않아도 이 저작물을 상업적인 목적을 포함하여 모든 목적으로 복제, 수정·변경, 배포, 공연·실연할 수 있습니다.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
설명
이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다
이 파일에 묘사된 항목
다음을 묘사함
21 12 2019
image/svg+xml
파일 역사
날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.
| 날짜/시간 | 섬네일 | 크기 | 사용자 | 설명 | |
|---|---|---|---|---|---|
| 현재 | 2019년 12월 24일 (화) 14:44 | 900 × 630 (43 KB) | wikimediacommons>Bob K | add a vertical line for filter delay arrow to point at |
이 파일을 사용하는 문서
이 파일을 사용하는 문서가 없습니다.